summaryrefslogtreecommitdiff
path: root/src/mp-binary.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-07-08 20:35:55 -0400
committerraveit65 <[email protected]>2019-07-13 16:15:45 +0200
commitd0a1884b2dda39ff43d4b2b18abe936a508ee5eb (patch)
tree3f20faf94ec8f54aafecafe5bd425bcea37223c0 /src/mp-binary.c
parent27eebc7657b719dff236b2010f71cb0fc4e8cec3 (diff)
downloadmate-calc-d0a1884b2dda39ff43d4b2b18abe936a508ee5eb.tar.bz2
mate-calc-d0a1884b2dda39ff43d4b2b18abe936a508ee5eb.tar.xz
parserfunc: Return NULL on NOT operation overflow
Diffstat (limited to 'src/mp-binary.c')
-rw-r--r--src/mp-binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp-binary.c b/src/mp-binary.c
index 8836776..d1de597 100644
--- a/src/mp-binary.c
+++ b/src/mp-binary.c
@@ -152,7 +152,7 @@ mp_not(const MPNumber *x, int wordlen, MPNumber *z)
if (!mp_is_positive_integer(x))
{
- /* Translators: Error displayed when boolean XOR attempted on non-integer values */
+ /* Translators: Error displayed when boolean NOT attempted on non-integer values */
mperr(_("Boolean NOT is only defined for positive integers"));
}