summaryrefslogtreecommitdiff
path: root/lib/strverscmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strverscmp.c')
-rw-r--r--lib/strverscmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c
index f0776516f1..fe37a27d69 100644
--- a/lib/strverscmp.c
+++ b/lib/strverscmp.c
@@ -117,8 +117,8 @@ __strverscmp (const char *s1, const char *s2)
case LEN:
while (ISDIGIT (*p1++))
- if (!ISDIGIT (*p2++))
- return 1;
+ if (!ISDIGIT (*p2++))
+ return 1;
return ISDIGIT (*p2) ? -1 : diff;