Typo fix in configuration.c that prevented configuration loading.

Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2012-03-27 12:38:05 +02:00
parent d1f761fe49
commit 419321d9b9

View File

@ -86,7 +86,7 @@ wmud_config_init(ConfigData **config_data, GError **err)
if (!config_data) if (!config_data)
return FALSE; return FALSE;
if (!*config_data) if (*config_data)
{ {
g_clear_error(err); g_clear_error(err);
g_set_error(err, WMUD_CONFIG_ERROR, WMUD_CONFIG_ERROR_REUSE, "Configuration pointer reuse. Please file a bug report!"); g_set_error(err, WMUD_CONFIG_ERROR, WMUD_CONFIG_ERROR_REUSE, "Configuration pointer reuse. Please file a bug report!");