CVS: rdesktop xkeymap.c,1.77,1.78
Peter Åstrand <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13759
Modified Files:
xkeymap.c
Log Message:
The keymap names are now case sensitive, since the -k argument now specifies a file name.
Index: xkeymap.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/xkeymap.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** xkeymap.c 3 Aug 2005 08:41:00 -0000 1.77
--- xkeymap.c 3 Aug 2005 09:32:22 -0000 1.78
***************
*** 31,34 ****
--- 31,35 ----
#include <limits.h>
#include <time.h>
+ #include <string.h>
#include "rdesktop.h"
#include "scancodes.h"
***************
*** 361,372 ****
char *mapname_ptr;
- /* Make keymapname lowercase */
- mapname_ptr = keymapname;
- while (*mapname_ptr)
- {
- *mapname_ptr = tolower((int) *mapname_ptr);
- mapname_ptr++;
- }
-
if (strcmp(keymapname, "none"))
{
--- 362,365 ----
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click