summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-bar.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c
index c6c73c674..77a7db154 100644
--- a/src/gui/gui-bar.c
+++ b/src/gui/gui-bar.c
@@ -1878,7 +1878,9 @@ gui_bar_create_default_input ()
+ strlen (gui_bar_item_names[GUI_BAR_ITEM_INPUT_PASTE])
+ 3 /* "],[" */
+ strlen (gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT])
- + 3 /* "],[" */
+ + 3 /* "]+(" */
+ + 4 /* "away" */
+ + 3 /* "),[" */
+ strlen (gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH])
+ 2 /* "]," */
+ strlen (gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT])
@@ -1886,7 +1888,7 @@ gui_bar_create_default_input ()
buf = malloc (length);
if (buf)
{
- snprintf (buf, length, "[%s],[%s],[%s],%s",
+ snprintf (buf, length, "[%s],[%s]+(away),[%s],%s",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PASTE],
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT],
gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH],