… | |
… | |
272 | psiconv_progress(lev+2,off+len,"Next style: %d",i); |
272 | psiconv_progress(lev+2,off+len,"Next style: %d",i); |
273 | if (i >= psiconv_list_length((*result)->styles)) { |
273 | if (i >= psiconv_list_length((*result)->styles)) { |
274 | if (!(style = malloc(sizeof(*style)))) |
274 | if (!(style = malloc(sizeof(*style)))) |
275 | goto ERROR5; |
275 | goto ERROR5; |
276 | style->hotkey = 0; |
276 | style->hotkey = 0; |
277 | if (!(psiconv_list_add((*result)->styles,style))) { |
277 | if (psiconv_list_add((*result)->styles,style)) { |
278 | free(style); |
278 | free(style); |
279 | goto ERROR5; |
279 | goto ERROR5; |
280 | } |
280 | } |
281 | psiconv_debug(lev+3,off+len,"New entry added in list"); |
281 | psiconv_debug(lev+3,off+len,"New entry added in list"); |
282 | free(style); |
282 | free(style); |