summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tqlocale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/tqlocale.cpp b/src/tools/tqlocale.cpp
index e3ab4305d..9cdffb4f2 100644
--- a/src/tools/tqlocale.cpp
+++ b/src/tools/tqlocale.cpp
@@ -4429,8 +4429,8 @@ static int lo0bits(ULong *y)
}
if (!(x & 1)) {
k++;
- x >>= 1;
- if (!x & 1)
+ // At this point x is zero if and only if the *y was zero
+ if (!x)
return 32;
}
*y = x;