tab-completion in the middle of line left the cursor in wrong place.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@336 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-14 17:44:03 +00:00 committed by cras
commit c5d1dab0bc
2 changed files with 3 additions and 5 deletions

View file

@ -158,6 +158,9 @@ void gui_entry_set_pos(int p)
{
if (p >= 0 && p <= entry->len)
pos = p;
entry_screenpos();
entry_update();
}
void gui_entry_move_pos(int p)