… | |
… | |
277 | |
277 | |
278 | psiconv_u32 text_len; |
278 | psiconv_u32 text_len; |
279 | psiconv_paragraph para; |
279 | psiconv_paragraph para; |
280 | psiconv_ucs2 temp; |
280 | psiconv_ucs2 temp; |
281 | psiconv_list line; |
281 | psiconv_list line; |
282 | psiconv_ucs2 *nextcharptr; |
|
|
283 | |
282 | |
284 | int nr; |
283 | int nr; |
285 | int i,j,leng; |
284 | int i,leng; |
286 | char *str_copy; |
285 | char *str_copy; |
287 | |
286 | |
288 | psiconv_progress(config,lev+1,off,"Going to parse the text section"); |
287 | psiconv_progress(config,lev+1,off,"Going to parse the text section"); |
289 | |
288 | |
290 | if(!(*result = psiconv_list_new(sizeof(*para)))) |
289 | if(!(*result = psiconv_list_new(sizeof(*para)))) |
… | |
… | |
1225 | |
1224 | |
1226 | psiconv_progress(config,lev+2,off+len,"Going to read the icon name"); |
1225 | psiconv_progress(config,lev+2,off+len,"Going to read the icon name"); |
1227 | (*result)->icon_name = psiconv_read_string(config,buf,lev+2,off+len,&leng,&res); |
1226 | (*result)->icon_name = psiconv_read_string(config,buf,lev+2,off+len,&leng,&res); |
1228 | if (res) |
1227 | if (res) |
1229 | goto ERROR2; |
1228 | goto ERROR2; |
1230 | psiconv_debug(config,lev+2,off+len,"Icon name: %s",(*result)->icon_name); |
|
|
1231 | len += leng; |
1229 | len += leng; |
1232 | |
1230 | |
1233 | psiconv_progress(config,lev+2,off+len,"Going to read the icon width"); |
1231 | psiconv_progress(config,lev+2,off+len,"Going to read the icon width"); |
1234 | (*result)->icon_width = psiconv_read_length(config,buf,lev+2,off+len,&leng,&res); |
1232 | (*result)->icon_width = psiconv_read_length(config,buf,lev+2,off+len,&leng,&res); |
1235 | if (res) |
1233 | if (res) |