diff options
author | portix <portix@gmx.net> | 2010-12-18 12:28:57 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2010-12-18 12:28:57 +0100 |
commit | ee5240eccbd7c7e4707ec344a9d7607ca20ab72b (patch) | |
tree | 051ddcf8cb53c816ce846fb48cf910133fcce663 /src/completion.c | |
parent | f40e60657d16ae5335f665e133c443d755779878 (diff) | |
download | dwb-ee5240eccbd7c7e4707ec344a9d7607ca20ab72b.zip |
fixed some memory leaks
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 00266638..83cb7f80 100644 --- a/src/completion.c +++ b/src/completion.c @@ -241,7 +241,7 @@ dwb_comp_get_key_completion(gboolean entry) { for (GList *l = dwb.keymap; l; l=l->next) { KeyMap *m = l->data; - if ((!entry && m->map->entry) || (!m->map->command_line)) { + if ((!entry && m->map->entry) || !(m->map->prop & FM_COMMANDLINE)) { continue; } Navigation n = m->map->n; |