/[libvob]/libvob/src/os/Os-GLX.cxx
ViewVC logotype

Diff of /libvob/src/os/Os-GLX.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by tuukkah, Wed Aug 13 13:09:56 2003 UTC revision 1.14 by tjl, Thu Aug 14 09:27:04 2003 UTC
# Line 606  namespace Os { Line 606  namespace Os {
606                  const char *str = buf;                  const char *str = buf;
607                  KeySym keysym;                  KeySym keysym;
608                  int ret = XLookupString(&e->xkey, buf, 256, &keysym, NULL);                  int ret = XLookupString(&e->xkey, buf, 256, &keysym, NULL);
609                    if(ret >= 254) {
610                        cout << "Odd number of keypress chars into buffer";
611                        return;
612                    }
613                    if(ret >= 0)
614                        buf[ret] = 0;
615    
616                  if(!ret || buf[0] < 32) {                  if(!ret || buf[0] < 32) {
617                      str = XKeysymToString(keysym);                      str = XKeysymToString(keysym);
618                      if(str == 0) {                      if(str == 0) {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26