Merge branch '2192_completion_window_width'
* 2192_completion_window_width: Ticket #2192: incorrect calculation of autocomplition window width.
Этот коммит содержится в:
Коммит
43401a7613
@ -1199,9 +1199,11 @@ complete_engine (WInput * in, int what_to_do)
|
||||
WListbox *query_list;
|
||||
|
||||
for (p = in->completions + 1; *p != NULL; count++, p++)
|
||||
{
|
||||
i = str_term_width1 (*p);
|
||||
if (i > maxlen)
|
||||
maxlen = i;
|
||||
}
|
||||
start_x = in->widget.x;
|
||||
start_y = in->widget.y;
|
||||
if (start_y - 2 >= count)
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user