summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-chat.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-19 13:22:14 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-10-19 13:22:14 +0200
commitf850bdd5e9e7778fd406625851979ff50e1a3d5b (patch)
treef47582b97c37dd66c2c4da372d7b7de3854e5ee4 /src/gui/curses/gui-curses-chat.c
parentedb95a8fd22021c6bcbde001d0e0f800bf335f57 (diff)
downloadweechat-f850bdd5e9e7778fd406625851979ff50e1a3d5b.zip
Fix display of special chars (< 32) in input bar (for exemple to send colors to IRC channel)
Diffstat (limited to 'src/gui/curses/gui-curses-chat.c')
-rw-r--r--src/gui/curses/gui-curses-chat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index 709c230dc..cd9e37bea 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -316,10 +316,7 @@ gui_chat_string_next_char (struct t_gui_window *window,
}
break;
default:
- if (string[0] < 32)
- string++;
- else
- return (char *)string;
+ return (char *)string;
break;
}