summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c85a3c8)
raw | patch | inline | side by side (parent: c85a3c8)
author | Max Kellermann <max@duempel.org> | |
Sat, 4 Oct 2008 10:23:29 +0000 (12:23 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 4 Oct 2008 10:23:29 +0000 (12:23 +0200) |
Another occurence of the non-portable basename() wasn't converted to
glib yet.
glib yet.
src/screen_utils.c | patch | blob | history |
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 5134756163f4686865e96783d0a86844f9e3fbda..e42de0b175a2bdfa22cb7262487bdc03318fb652 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
wclrtoeol(w);
if (item) {
gchar *tmp = g_strdup(item->data);
- waddstr(w, basename(tmp));
+ waddstr(w, g_basename(tmp));
g_free(tmp);
}
}