--- psiconv/trunk/lib/psiconv/generate_word.c 2004/02/26 15:58:48 232 +++ psiconv/trunk/lib/psiconv/generate_word.c 2004/02/26 16:27:43 233 @@ -94,11 +94,13 @@ } if (!(basepara=psiconv_basic_paragraph_layout())) { + psiconv_error(config,lev+1,0,"Out of memory error"); res = -PSICONV_E_NOMEM; goto ERROR1; } if (!(basechar=psiconv_basic_character_layout())) { + psiconv_error(config,lev+1,0,"Out of memory error"); res = -PSICONV_E_NOMEM; goto ERROR2; } @@ -133,7 +135,7 @@ for (i = 0; i < psiconv_list_length(value->styles); i++) { if (!(style = psiconv_list_get(value->styles,i))) { - psiconv_error(config,lev,0,"Massive memory corruption"); + psiconv_error(config,lev,0,"Data structure corruption"); res = -PSICONV_E_NOMEM; goto ERROR3; } @@ -148,7 +150,7 @@ goto ERROR3; for (i = 0; i < psiconv_list_length(value->styles); i++) { if (!(style = psiconv_list_get(value->styles,i))) { - psiconv_error(config,lev,0,"Massive memory corruption"); + psiconv_error(config,lev,0,"Data structure corruption"); res = -PSICONV_E_NOMEM; goto ERROR3; }