diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-04-29 19:56:33 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-04-29 19:56:33 +0000 |
commit | 39c513c493730413503bad7a7a271a452ed60a03 (patch) | |
tree | fd81ab42dd1c1b68da98859251345544c3178c7a /chinese/irssi/files/patch-src::fe-text::gui-readline.c | |
parent | Update to 1.7 RC 1. The list of feature in this release can be found at: (diff) |
Yet another input buffer patch.
Submitted by: mhsin via #bsdchat
Diffstat (limited to '')
-rw-r--r-- | chinese/irssi/files/patch-src::fe-text::gui-readline.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/chinese/irssi/files/patch-src::fe-text::gui-readline.c b/chinese/irssi/files/patch-src::fe-text::gui-readline.c index 99e673023ca6..77dd303e2314 100644 --- a/chinese/irssi/files/patch-src::fe-text::gui-readline.c +++ b/chinese/irssi/files/patch-src::fe-text::gui-readline.c @@ -1,5 +1,5 @@ --- src/fe-text/gui-readline.c.orig Thu Nov 27 01:30:03 2003 -+++ src/fe-text/gui-readline.c Wed Apr 7 11:02:59 2004 ++++ src/fe-text/gui-readline.c Thu Apr 29 14:33:01 2004 @@ -187,7 +187,12 @@ out[utf16_char_to_utf8(arr[i], out)] = '\0'; g_string_append(str, out); @@ -14,7 +14,7 @@ } } -@@ -620,9 +625,7 @@ +@@ -620,15 +625,13 @@ char *text, *line; int pos; @@ -25,7 +25,14 @@ line = word_complete(active_win, text, &pos, erase); g_free(text); -@@ -648,9 +651,7 @@ + if (line != NULL) { + gui_entry_set_text(active_entry, line); +- gui_entry_set_pos(active_entry, pos); ++ gui_entry_set_linepos(active_entry, pos); + g_free(line); + } + } +@@ -648,15 +651,13 @@ char *text, *line; int pos; @@ -36,3 +43,10 @@ line = auto_word_complete(text, &pos); g_free(text); + if (line != NULL) { + gui_entry_set_text(active_entry, line); +- gui_entry_set_pos(active_entry, pos); ++ gui_entry_set_linepos(active_entry, pos); + g_free(line); + } + } |