X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlookup.C;h=38c6368344e6c1735f374cbc67594ccd80ac194b;hb=a858be7332e331e0244e4dba7b0931b6072ffd3d;hp=94c877ad9a9bcc36fbdfe2d2b724b0a67d4ba3f3;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/lyxlookup.C b/src/lyxlookup.C index 94c877ad9a..38c6368344 100644 --- a/src/lyxlookup.C +++ b/src/lyxlookup.C @@ -1,12 +1,12 @@ /* This file is part of -* ====================================================== -* -* LyX, The Document Processor -* -* Copyright (C) 1995 Matthias Ettrich -* Copyright (C) 1995-1998 The LyX team. -* -*======================================================*/ + * ====================================================== + * + * LyX, The Document Processor + * + * Copyright 1995 Matthias Ettrich + * Copyright 1995-1999 The LyX team. + * + * ======================================================*/ #include @@ -21,7 +21,7 @@ #include #endif -#include "error.h" +#include "debug.h" static XIM xim; static XIC xic; @@ -147,12 +147,12 @@ int LyXLookupString(XEvent *event, return 0; } if (XFilterEvent (event, None)) { - //lyxerr.print("XFilterEvent"); + //lyxerr <<"XFilterEvent"); *keysym_return = NoSymbol; return 0; } if (event->type != KeyPress) - lyxerr.print("LyXLookupString: wrong event type" + lyxerr <<"LyXLookupString: wrong event type" +string(event->type)); Status status_return; @@ -161,18 +161,18 @@ int LyXLookupString(XEvent *event, &status_return); switch(status_return) { case XLookupBoth: - //lyxerr.print("XLookupBoth"); + //lyxerr <<"XLookupBoth"); break; case XLookupChars: - //lyxerr.print("XLookupChars"); + //lyxerr <<"XLookupChars"); *keysym_return = NoSymbol; break; case XLookupKeySym: - //lyxerr.print("XLookupKeySym"); + //lyxerr <<"XLookupKeySym"); result = 0; break; default: - //lyxerr.print("default"); + //lyxerr <<"default"); *keysym_return = NoSymbol; result = 0; break;