branch-outside patch: Fix return value of function mc_config_normalize_before_save()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-10-21 22:43:01 +03:00 committed by Ilia Maslakov
parent 310e2a25c1
commit 1017d4f548

View File

@ -51,7 +51,7 @@ mc_config_normalize_before_save(const gchar * value)
{
conv = str_crt_conv_to ("UTF-8");
if (conv == INVALID_CONV)
return;
return g_strdup(value);
buffer = g_string_new ("");