From 7a58f8a1d94146c7d5af02d4b7db5844f2985823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 22 Jun 2007 16:27:37 +0000 Subject: [PATCH] allow unicode-insert 0x20 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18854 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index 63e523a898..5cf704de91 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -973,7 +973,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) docstring hexstring = cmd.argument(); if (lyx::support::isHex(hexstring)) { char_type c = lyx::support::hexToInt(hexstring); - if (c > 32 && c < 0x10ffff) { + if (c >= 32 && c < 0x10ffff) { lyxerr << "Inserting c: " << c << endl; docstring s = docstring(1, c); lyx::dispatch(FuncRequest(LFUN_SELF_INSERT, s));