summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-01 18:49:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-01 18:49:32 +0000
commit3f0e76d5168a52934f3bf96f994d890688937767 (patch)
tree95a3b06ac2b5eed0e2eb586dca7f70ac0f071a91 /src/fe-text
parentfc3918b0f08c688d8729987c32bd9cada7259b57 (diff)
downloadirssi-3f0e76d5168a52934f3bf96f994d890688937767.zip
more #endif WANT_BIG5 -> #endif changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1531 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/gui-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c
index 7544539a..835b3b3d 100644
--- a/src/fe-text/gui-entry.c
+++ b/src/fe-text/gui-entry.c
@@ -155,7 +155,7 @@ void gui_entry_erase(int size)
#ifdef WANT_BIG5
if (is_big5(entry->str[pos-2], entry->str[pos-1]))
size++;
-#endif WANT_BIG5
+#endif
pos -= size;
g_string_erase(entry, pos, size);
@@ -227,7 +227,7 @@ void gui_entry_move_pos(int p)
p++;
else if (p < 0 && is_big5 (entry->str[pos-1], entry->str[pos]))
p--;
-#endif WANT_BIG5
+#endif
if (pos+p >= 0 && pos+p <= entry->len)
pos += p;