--- psiconv/trunk/lib/psiconv/parse_word.c 2004/01/06 20:15:01 184 +++ psiconv/trunk/lib/psiconv/parse_word.c 2004/02/04 12:19:09 196 @@ -1,6 +1,6 @@ /* parse_word.c - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999, 2000 Frodo Looijaard + Copyright (c) 1999-2004 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -213,13 +213,7 @@ psiconv_debug(config,lev+3,off+len,"Hotkey value %08x",temp); temp = 0; } - style->hotkey = temp & 0x000000ff; - if ((style->hotkey >= 32) && (style->hotkey < 127)) - psiconv_debug(config,lev+3,off+len,"Hotkey: %c",style->hotkey); - else if (style->hotkey == 0x00) - psiconv_debug(config,lev+3,off+len,"Hotkey: "); - else - psiconv_debug(config,lev+3,off+len,"Hotkey: %02x",style->hotkey); + style->hotkey = psiconv_unicode_from_char(config,temp); (*result)->normal = style; len += 0x04;