use the empty string to test g_filename_to_utf8().

2004-08-07  Sven Neumann  <sven@gimp.org>

	* app/sanity.c: (sanity_check_filename_encoding): use the empty
	string to test g_filename_to_utf8().
This commit is contained in:
Sven Neumann 2004-08-07 19:01:49 +00:00 committed by Sven Neumann
parent 084f814e1b
commit 72537feafb
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ sanity_check_filename_encoding (void)
gchar *result;
GError *error = NULL;
result = g_filename_to_utf8 ("foobar", -1, NULL, NULL, &error);
result = g_filename_to_utf8 ("", -1, NULL, NULL, &error);
if (result)
{