]> git.lyx.org Git - features.git/commitdiff
allow unicode-insert 0x20
authorAndré Pönitz <poenitz@gmx.net>
Fri, 22 Jun 2007 16:27:37 +0000 (16:27 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 22 Jun 2007 16:27:37 +0000 (16:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18854 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index 63e523a898046346dcb076bf93e289f127190dea..5cf704de91853d1f0097b9e9bfad4d3c5bd191ae 100644 (file)
@@ -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));