From 76122dfc5d28c02dc839afe56ceff23d0d758ef7 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Thu, 22 Nov 2012 02:38:12 +0100 Subject: [PATCH] Fixed unused hide parameter in vp_echo() function. --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index d5a061c..e680cf8 100644 --- a/src/main.c +++ b/src/main.c @@ -357,7 +357,9 @@ void vp_echo(const MessageType type, gboolean hide, const char *error, ...) vp.style.input_font[type] ); gtk_entry_set_text(GTK_ENTRY(vp.gui.inputbox), message); - g_timeout_add_seconds(2, (GSourceFunc)vp_hide_message, NULL); + if (hide) { + g_timeout_add_seconds(2, (GSourceFunc)vp_hide_message, NULL); + } } static void vp_print_version(void) -- 2.20.1