ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/keyboard.C
(Generate patch)

Comparing rxvt-unicode/src/keyboard.C (file contents):
Revision 1.25 by root, Mon Feb 20 22:40:35 2006 UTC vs.
Revision 1.26 by root, Mon Oct 9 23:12:45 2006 UTC

236 if (suffix && middle && suffix > middle + 1) 236 if (suffix && middle && suffix > middle + 1)
237 { 237 {
238 key->type = keysym_t::LIST; 238 key->type = keysym_t::LIST;
239 key->range = suffix - middle - 1; 239 key->range = suffix - middle - 1;
240 240
241 strcpy (translation, translation + 4); 241 memmove (translation, translation + 4, strlen (translation + 4) + 1);
242 } 242 }
243 else 243 else
244 rxvt_warn ("cannot parse list-type keysym '%s', treating as normal keysym.\n", translation); 244 rxvt_warn ("cannot parse list-type keysym '%s', treating as normal keysym.\n", translation);
245 } 245 }
246 else if (strncmp (translation, "builtin:", 8) == 0) 246 else if (strncmp (translation, "builtin:", 8) == 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines