Fix the keymap bug!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-01-23 23:20:27 +00:00
parent 02d9041c67
commit 0b6dc43b18
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
* trans.C (process): Fix the keymap bug.
2001-01-23 Dekel Tsur <dekelts@tau.ac.il> 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
* LaTeX.C (scanAuxFiles): New method. Provides support for * LaTeX.C (scanAuxFiles): New method. Provides support for

View File

@ -351,7 +351,7 @@ string const Trans::process(char c, TransManager & k)
if (t.empty() && c != 0) { if (t.empty() && c != 0) {
dt[0] = c; dt[0] = c;
return k.normalkey(c, dt); return k.normalkey(c, dt);
} else if (!t.empty()) { } else if (!t.empty() && t[0] != char(0)) {
dt = t; dt = t;
return k.normalkey(c, dt); return k.normalkey(c, dt);
} else { } else {