From a70cd3c90036de33199d38eb13cfd9e5ed481829 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Sat, 3 Jul 2010 19:10:07 +0200 Subject: [PATCH] Completion fix 1 --- zathura.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zathura.c b/zathura.c index 2f1285f..baf0a81 100644 --- a/zathura.c +++ b/zathura.c @@ -1704,7 +1704,6 @@ sc_change_buffer(Argument* argument) gtk_label_set_markup((GtkLabel*) Zathura.Global.status_buffer, Zathura.Global.buffer->str); } } - } void @@ -2480,14 +2479,9 @@ isc_completion(Argument* argument) setCompletionRowColor(results, HIGHLIGHT, current_item); if(command_mode) - { - char* cp = (current_parameter) ? g_strconcat(" ", current_parameter, NULL) : 0; - temp = g_strconcat(":", rows[current_item].command, cp, NULL); - } + temp = g_strconcat(":", rows[current_item].command, NULL); else - { temp = g_strconcat(":", previous_command, " ", rows[current_item].command, NULL); - } gtk_entry_set_text(Zathura.UI.inputbar, temp); gtk_editable_set_position(GTK_EDITABLE(Zathura.UI.inputbar), -1);