From 0b6dc43b182dd65928f03518368b1b0b5963d5f1 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Tue, 23 Jan 2001 23:20:27 +0000 Subject: [PATCH] Fix the keymap bug! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1374 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/trans.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 70658867c5..3060d10116 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-01-24 Dekel Tsur + + * trans.C (process): Fix the keymap bug. + 2001-01-23 Dekel Tsur * LaTeX.C (scanAuxFiles): New method. Provides support for diff --git a/src/trans.C b/src/trans.C index bde4bc1847..4e2d45c20a 100644 --- a/src/trans.C +++ b/src/trans.C @@ -351,7 +351,7 @@ string const Trans::process(char c, TransManager & k) if (t.empty() && c != 0) { dt[0] = c; return k.normalkey(c, dt); - } else if (!t.empty()) { + } else if (!t.empty() && t[0] != char(0)) { dt = t; return k.normalkey(c, dt); } else {