summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-04-19 22:10:34 +0200
committerDave Davenport <qball@gmpclient.org>2016-04-20 08:04:23 +0200
commit3918625804053bec0d98d2519fb86d698cf56a7b (patch)
treeb990a9141e13507199adc07b8aad163034d7fa69 /source/dialogs
parentf79c078144ed705393c8f0d069d419f9bb6b981b (diff)
Move teardown to the logic place again (possible with deamon mode removed)
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/combi.c4
-rw-r--r--source/dialogs/dmenu.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c
index 2e828bc1..5ab58940 100644
--- a/source/dialogs/combi.c
+++ b/source/dialogs/combi.c
@@ -246,9 +246,9 @@ static char * combi_get_completion ( const Mode *sw, unsigned int index )
CombiModePrivateData *pd = mode_get_private_data ( sw );
for ( unsigned i = 0; i < pd->num_switchers; i++ ) {
if ( index >= pd->starts[i] && index < ( pd->starts[i] + pd->lengths[i] ) ) {
- char *comp = mode_get_completion ( pd->switchers[i], index - pd->starts[i] );
+ char *comp = mode_get_completion ( pd->switchers[i], index - pd->starts[i] );
char *mcomp = g_strdup_printf ( "!%c %s", mode_get_name ( pd->switchers[i] )[0], comp );
- g_free(comp);
+ g_free ( comp );
return mcomp;
}
}
diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c
index fff41c98..56f397bf 100644
--- a/source/dialogs/dmenu.c
+++ b/source/dialogs/dmenu.c
@@ -510,9 +510,6 @@ int dmenu_switcher_dialog ( void )
if ( find_arg ( "-password" ) >= 0 ) {
menu_flags |= MENU_PASSWORD;
}
- if ( find_arg ( "-normal-window" ) >= 0 ) {
- menu_flags |= MENU_NORMAL_WINDOW;
- }
/* copy filter string */
input = g_strdup ( config.filter );