… | … | ||
---|---|---|---|
112 | { | 112 | { |
113 | char *translation = rxvt_wcstoutf8 (ws); | 113 | char *translation = rxvt_wcstoutf8 (ws); |
114 | 114 | ||
115 | keysym_t *key = new keysym_t; | 115 | keysym_t *key = new keysym_t; |
116 | 116 | ||
117 | if (!key) | ||
118 | rxvt_fatal ("memory allocation failure. aborting.\n"); | ||
119 | |||
120 | key->keysym = keysym; | 117 | key->keysym = keysym; |
121 | key->state = state; | 118 | key->state = state; |
122 | key->str = translation; | 119 | key->str = translation; |
123 | key->type = keysym_t::STRING; | 120 | key->type = keysym_t::STRING; |
124 | 121 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |