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

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

revision 973 by astrand, Thu Aug 4 12:44:10 2005 UTC revision 974 by astrand, Thu Aug 4 12:50:15 2005 UTC
# Line 166  xkeymap_from_locale(const char *locale) Line 166  xkeymap_from_locale(const char *locale)
166          FILE *fp;          FILE *fp;
167    
168          /* Create a working copy */          /* Create a working copy */
169          str = strdup(locale);          str = xstrdup(locale);
         if (str == NULL)  
         {  
                 perror("strdup");  
                 exit(1);  
         }  
170    
171          /* Truncate at dot and at */          /* Truncate at dot and at */
172          ptr = strrchr(str, '.');          ptr = strrchr(str, '.');

Legend:
Removed from v.973  
changed lines
  Added in v.974

  ViewVC Help
Powered by ViewVC 1.1.26