From 7c595cb7632c29eb90e6b3b7597fce2ac3dd7382 Mon Sep 17 00:00:00 2001 From: Asger Ottar Alstrup Date: Sun, 22 Oct 2006 19:09:09 +0000 Subject: [PATCH] - We guess Lars smoked something (we didn't see him, but that's the only explanation) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15492 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/lstrings.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2