Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| Why not try to do a diff on trans.h?
I was just going to, but am currently on the wrong end of a 9.6Kb
connection...
|
| Hmm, Lars, it seems that you got a bit overboard with cleanup:
|
| fantomas: cvs diff -r1.2 -r1.3 trans.h
| No remote authentication
| Index: trans.h
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/trans.h,v
| retrieving revision 1.2
| retrieving revision 1.3
| diff -u -r1.2 -r1.3
| --- trans.h 1999/10/02 16:21:00 1.2
| +++ trans.h 1999/11/04 01:40:19 1.3
| @@ -97,7 +97,7 @@
|
| char* Trans::Match(char c)
| {
| - return keymap_[(unsigned char)c];
| + return keymap_[c];
| }
|
|
| Try to imagine what happens when c is a signed char... I'll checkin a
| fix.
IMO the right fix is to change to
char * Trans::Match(int c)...
Chars of any kind should not be used or this.
Lgb