--- win32/development/msvcee/Attic/eeparser3.cpp 2003/09/25 07:43:41 1.4 +++ win32/development/msvcee/Attic/eeparser3.cpp 2003/10/31 12:34:13 1.5 @@ -54,6 +54,11 @@ ADDIN_API HRESULT WINAPI AddIn_Parser3St strncpy(pResult, "", max); return 0; } + if(s==(void*)0xCCCCcccc) { + strncpy(pResult, "", max); + return 0; + } + try { #if 0 @@ -65,7 +70,7 @@ ADDIN_API HRESULT WINAPI AddIn_Parser3St strncpy(pResult, buf, max); #else char buf[MAX_STRING*2]; -#define LIMIT_LANGS 10 +#define LIMIT_LANGS 20 const char* body_view=CORD_to_const_char_star(pHelper, D(s->body)); const char* langs_view=s->langs.is_not_just_lang? CORD_to_const_char_star(pHelper, D(s->langs.langs))