mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
more #endif WANT_BIG5 -> #endif changes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1531 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fc3918b0f0
commit
3f0e76d516
@ -155,7 +155,7 @@ void gui_entry_erase(int size)
|
|||||||
#ifdef WANT_BIG5
|
#ifdef WANT_BIG5
|
||||||
if (is_big5(entry->str[pos-2], entry->str[pos-1]))
|
if (is_big5(entry->str[pos-2], entry->str[pos-1]))
|
||||||
size++;
|
size++;
|
||||||
#endif WANT_BIG5
|
#endif
|
||||||
|
|
||||||
pos -= size;
|
pos -= size;
|
||||||
g_string_erase(entry, pos, size);
|
g_string_erase(entry, pos, size);
|
||||||
@ -227,7 +227,7 @@ void gui_entry_move_pos(int p)
|
|||||||
p++;
|
p++;
|
||||||
else if (p < 0 && is_big5 (entry->str[pos-1], entry->str[pos]))
|
else if (p < 0 && is_big5 (entry->str[pos-1], entry->str[pos]))
|
||||||
p--;
|
p--;
|
||||||
#endif WANT_BIG5
|
#endif
|
||||||
|
|
||||||
if (pos+p >= 0 && pos+p <= entry->len)
|
if (pos+p >= 0 && pos+p <= entry->len)
|
||||||
pos += p;
|
pos += p;
|
||||||
|
Loading…
Reference in New Issue
Block a user