… | |
… | |
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) |