mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
removed a useless "fix"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1614 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b365a78a5a
commit
fca13a0fba
1 changed files with 1 additions and 2 deletions
|
|
@ -188,8 +188,7 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos)
|
|||
/* replace the word in line - we need to return
|
||||
a full new line */
|
||||
result = g_string_new(line);
|
||||
if (wordlen > 0)
|
||||
g_string_erase(result, startpos, wordlen);
|
||||
g_string_erase(result, startpos, wordlen);
|
||||
g_string_insert(result, startpos, complist->data);
|
||||
|
||||
if (want_space) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue