/[gxemul]/trunk/src/x11.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/x11.c

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

revision 37 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 38 by dpavlin, Mon Oct 8 16:21:53 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: x11.c,v 1.63 2006/12/30 13:30:53 debug Exp $   *  $Id: x11.c,v 1.64 2007/03/29 06:52:19 debug Exp $
29   *   *
30   *  X11-related functions.   *  X11-related functions.
31   */   */
# Line 680  static void x11_check_events_machine(str Line 680  static void x11_check_events_machine(str
680                                  KeySym key;                                  KeySym key;
681                                  XKeyPressedEvent *ke = &event.xkey;                                  XKeyPressedEvent *ke = &event.xkey;
682    
683                                  memset(text, sizeof(text), 0);                                  memset(text, 0, sizeof(text));
684    
685                                  if (XLookupString(&event.xkey, text,                                  if (XLookupString(&event.xkey, text,
686                                      sizeof(text), &key, 0) == 1) {                                      sizeof(text), &key, 0) == 1) {

Legend:
Removed from v.37  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.26