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;
|
WListbox *query_list;
|
||||||
|
|
||||||
for (p = in->completions + 1; *p != NULL; count++, p++)
|
for (p = in->completions + 1; *p != NULL; count++, p++)
|
||||||
|
{
|
||||||
i = str_term_width1 (*p);
|
i = str_term_width1 (*p);
|
||||||
if (i > maxlen)
|
if (i > maxlen)
|
||||||
maxlen = i;
|
maxlen = i;
|
||||||
|
}
|
||||||
start_x = in->widget.x;
|
start_x = in->widget.x;
|
||||||
start_y = in->widget.y;
|
start_y = in->widget.y;
|
||||||
if (start_y - 2 >= count)
|
if (start_y - 2 >= count)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user