1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[dos] compilation fix

This commit is contained in:
Witold Filipczyk 2023-07-08 09:31:30 +02:00
parent 1a5f77f1f4
commit 6263ba189d

View File

@ -441,8 +441,8 @@ x:
void *handle_mouse(int cons, void (*fn)(void *, char *, int), void *data)
{
int x, y;
get_terminal_size(cons, &x, &y);
int x, y, cw, ch;
get_terminal_size(cons, &x, &y, &cw, &ch);
dos_mouse_init(x * 8, y * 8);
if (!dos_mouse_initialized) return NULL;