diff options
author | Max Kellermann <max@duempel.org> | 2008-10-04 12:23:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-04 12:23:29 +0200 |
commit | 316adb83cf48608b0f8aa2652474aa2ed5db3169 (patch) | |
tree | d736d1a1b9c867cc4475928282ed0cc072bdb685 /src/screen_utils.c | |
parent | c85a3c8f1d28929bb18afc72ec3abd3dd9ed4b7c (diff) | |
download | mpd-316adb83cf48608b0f8aa2652474aa2ed5db3169.tar.gz mpd-316adb83cf48608b0f8aa2652474aa2ed5db3169.tar.xz mpd-316adb83cf48608b0f8aa2652474aa2ed5db3169.zip |
use g_basename() instead of basename()
Another occurence of the non-portable basename() wasn't converted to
glib yet.
Diffstat (limited to '')
-rw-r--r-- | src/screen_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index 513475616..e42de0b17 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -234,7 +234,7 @@ screen_display_completion_list(GList *list) wclrtoeol(w); if (item) { gchar *tmp = g_strdup(item->data); - waddstr(w, basename(tmp)); + waddstr(w, g_basename(tmp)); g_free(tmp); } } |