Skip to content

Commit

Permalink
When concatenating config values, put new data to front of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
spiiroin committed Jan 4, 2013
1 parent b7f265e commit c3f68d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mce-conf.c
Expand Up @@ -376,7 +376,7 @@ static void mce_conf_append_key(GKeyFile *dest, GKeyFile *srce,
gchar *tmp = 0;

if( old && *old ) {
tmp = g_strconcat(old, ";", val, NULL);
tmp = g_strconcat(val, ";", old, NULL);
}

mce_log(LL_NOTICE, "[%s] %s = %s", grp, key, tmp ?: val);
Expand Down

0 comments on commit c3f68d2

Please sign in to comment.