mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(gtk) use replace strcmp() with g_strcmp0() everywhere
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user