Commit 171adfcf authored by Nikolay Shalakin's avatar Nikolay Shalakin Committed by Eike Ziller
Browse files

QmlJsImport: correct ImportMatchStrength comparison

Change-Id: I9aa775dc23d19e856e38baf9834bedb6903800a9
Reviewed-by: default avatarhjk <>
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent 54498da3
......@@ -72,7 +72,7 @@ int ImportMatchStrength::compareMatch(const ImportMatchStrength &o) const
int v2 =;
if (v1 < v2)
return -1;
if (v2 > v1)
if (v1 > v2)
return 1;
if (len1 < len2)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment