From: Daniel Carl Date: Thu, 22 Nov 2012 01:38:12 +0000 (+0100) Subject: Fixed unused hide parameter in vp_echo() function. X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=76122dfc5d28c02dc839afe56ceff23d0d758ef7;p=vimb.git Fixed unused hide parameter in vp_echo() function. --- 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)