From 316adb83cf48608b0f8aa2652474aa2ed5db3169 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 4 Oct 2008 12:23:29 +0200 Subject: [PATCH] use g_basename() instead of basename() Another occurence of the non-portable basename() wasn't converted to glib yet. --- src/screen_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen_utils.c b/src/screen_utils.c index 5134756..e42de0b 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); } } -- 2.30.2