/[rdesktop]/sourceforge.net/trunk/rdesktop/xkeymap.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 /sourceforge.net/trunk/rdesktop/xkeymap.c

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

revision 38 by matthewc, Thu Apr 4 12:04:33 2002 UTC revision 39 by matthewc, Fri Apr 5 07:57:43 2002 UTC
# Line 23  Line 23 
23  #include <stdio.h>  #include <stdio.h>
24  #include <stdlib.h>  #include <stdlib.h>
25  #include <string.h>  #include <string.h>
26    #include <limits.h>
27  #include "rdesktop.h"  #include "rdesktop.h"
28    
29  #define KEYMAP_SIZE 4096  #define KEYMAP_SIZE 4096
# Line 37  static unsigned int min_keycode; Line 38  static unsigned int min_keycode;
38  static BOOL xkeymap_read(char *mapname)  static BOOL xkeymap_read(char *mapname)
39  {  {
40          FILE *fp;          FILE *fp;
41          char line[256], path[256];          char line[PATH_MAX], path[PATH_MAX];
42          char *keyname, *p;          char *keyname, *p;
43          KeySym keysym;          KeySym keysym;
44          unsigned char keycode;          unsigned char keycode;

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

  ViewVC Help
Powered by ViewVC 1.1.26