diff options
author | portix <portix@gmx.net> | 2011-03-18 01:19:46 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2011-03-18 01:19:46 +0100 |
commit | 740c646e7d3e7d8d32a9afd93b584211131a956c (patch) | |
tree | 911b803299bc7946e1e5d49e44df2c637a4f1407 /src/completion.c | |
parent | d354455a9da13b1454ba12d23302880f632987e2 (diff) | |
download | dwb-740c646e7d3e7d8d32a9afd93b584211131a956c.zip |
Removed 2 strlen calls
Diffstat (limited to 'src/completion.c')
-rw-r--r-- | src/completion.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |