diff options
Diffstat (limited to 'desktop/unx/source/splashx.c')
-rw-r--r-- | desktop/unx/source/splashx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 24b21526cf6f..288656c9b837 100644 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -582,7 +582,7 @@ static void splash_load_image( struct splash* splash, rtl_uString* pUAppPath ) pLang = ustr_to_str (pLoc->Language); pCountry = ustr_to_str (pLoc->Country); - nLocSize = strlen (pLang->buffer) + strlen (pCountry->buffer) + 8; + nLocSize = strlen (pLang->buffer) + strlen (pCountry->buffer) + 3; pLocale = malloc (nLocSize); pLocale[0] = '-'; strcpy (pLocale + 1, pLang->buffer); |