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:
parent
1a5f77f1f4
commit
6263ba189d
@ -441,8 +441,8 @@ x:
|
|||||||
|
|
||||||
void *handle_mouse(int cons, void (*fn)(void *, char *, int), void *data)
|
void *handle_mouse(int cons, void (*fn)(void *, char *, int), void *data)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y, cw, ch;
|
||||||
get_terminal_size(cons, &x, &y);
|
get_terminal_size(cons, &x, &y, &cw, &ch);
|
||||||
dos_mouse_init(x * 8, y * 8);
|
dos_mouse_init(x * 8, y * 8);
|
||||||
|
|
||||||
if (!dos_mouse_initialized) return NULL;
|
if (!dos_mouse_initialized) return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user