From 740c646e7d3e7d8d32a9afd93b584211131a956c Mon Sep 17 00:00:00 2001 From: portix Date: Fri, 18 Mar 2011 01:19:46 +0100 Subject: Removed 2 strlen calls --- src/completion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/completion.c') diff --git a/src/completion.c b/src/completion.c index ffcefa9b..7f03bcca 100644 --- a/src/completion.c +++ b/src/completion.c @@ -453,7 +453,7 @@ dwb_comp_get_path(GList *list, char *text) { const char *filename; char path[BUFFER_LENGTH]; - if (!strlen(text)) { + if (! *text ) { list = g_list_prepend(list, g_strconcat(d_current, "/", NULL)); return list; } -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0