| … | |
… | |
| 211 | psiconv_warn(config,lev+3,off+len, |
211 | psiconv_warn(config,lev+3,off+len, |
| 212 | "Normal style hotkey has unknown value (ignored)"); |
212 | "Normal style hotkey has unknown value (ignored)"); |
| 213 | psiconv_debug(config,lev+3,off+len,"Hotkey value %08x",temp); |
213 | psiconv_debug(config,lev+3,off+len,"Hotkey value %08x",temp); |
| 214 | temp = 0; |
214 | temp = 0; |
| 215 | } |
215 | } |
| 216 | style->hotkey = temp & 0x000000ff; |
216 | style->hotkey = psiconv_unicode_from_char(config,temp); |
| 217 | if ((style->hotkey >= 32) && (style->hotkey < 127)) |
|
|
| 218 | psiconv_debug(config,lev+3,off+len,"Hotkey: %c",style->hotkey); |
|
|
| 219 | else if (style->hotkey == 0x00) |
|
|
| 220 | psiconv_debug(config,lev+3,off+len,"Hotkey: <none>"); |
|
|
| 221 | else |
|
|
| 222 | psiconv_debug(config,lev+3,off+len,"Hotkey: %02x",style->hotkey); |
|
|
| 223 | (*result)->normal = style; |
217 | (*result)->normal = style; |
| 224 | len += 0x04; |
218 | len += 0x04; |
| 225 | |
219 | |
| 226 | psiconv_progress(config,lev+2,off+len,"Going to read hotkeys list"); |
220 | psiconv_progress(config,lev+2,off+len,"Going to read hotkeys list"); |
| 227 | if (!((*result)->styles = psiconv_list_new(sizeof(*style)))) |
221 | if (!((*result)->styles = psiconv_list_new(sizeof(*style)))) |