summaryrefslogtreecommitdiffstats
path: root/source/dialogs/drun.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/dialogs/drun.c')
-rw-r--r--source/dialogs/drun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c
index 844bb7ef..1eab9d19 100644
--- a/source/dialogs/drun.c
+++ b/source/dialogs/drun.c
@@ -371,8 +371,8 @@ static void get_apps_history ( DRunModePrivateData *pd )
for ( unsigned int index = 0; index < length; index++ ) {
char **st = g_strsplit ( retv[index], ":::", 2 );
if ( st && st[0] && st[1] ) {
- if ( ! read_desktop_file ( pd, st[0], st[1] ) ) {
- history_remove ( path, retv[index]);
+ if ( !read_desktop_file ( pd, st[0], st[1] ) ) {
+ history_remove ( path, retv[index] );
}
}
g_strfreev ( st );