(gtk) use replace strcmp() with g_strcmp0() everywhere

This commit is contained in:
Jordan Lee
2013-02-14 15:17:42 +00:00
parent 313fe8ae94
commit d1571bda02
11 changed files with 59 additions and 63 deletions

View File

@@ -59,7 +59,7 @@ save_recent_destination (TrCore * core, const char * dir)
return;
/* if it was already in the list, remove it */
if ((l = g_slist_find_custom (list, dir, (GCompareFunc)strcmp)))
if ((l = g_slist_find_custom (list, dir, (GCompareFunc)g_strcmp0)))
list = g_slist_delete_link (list, l);
/* add it to the front of the list */