projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1752e8f
)
Fixed unused hide parameter in vp_echo() function.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 22 Nov 2012 01:38:12 +0000
(
02:38
+0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 22 Nov 2012 01:38:12 +0000
(
02:38
+0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
d5a061c
..
e680cf8
100644
(file)
--- 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)