diff --git a/src/support/lstrings.C b/src/support/lstrings.C index d68b75f3ff..3f97e9202e 100644 --- a/src/support/lstrings.C +++ b/src/support/lstrings.C @@ -256,7 +256,7 @@ bool isHex(docstring const & str) { int index = 0; - if (str.length() > 2 and str[0] == '0' && + if (str.length() > 2 && str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) index = 2;