mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
Fix error in switch_core_screen_size() and screen_size() fallback code.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
parent
0fc0b99950
commit
8075b01569
@ -135,8 +135,8 @@ static void screen_size(int *x, int *y)
|
|||||||
if (x) *x = w.ws_col;
|
if (x) *x = w.ws_col;
|
||||||
if (y) *y = w.ws_row;
|
if (y) *y = w.ws_row;
|
||||||
#else
|
#else
|
||||||
if (x) *x = 24;
|
|
||||||
if (x) *x = 80;
|
if (x) *x = 80;
|
||||||
|
if (y) *y = 24;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -208,8 +208,8 @@ SWITCH_DECLARE(void) switch_core_screen_size(int *x, int *y)
|
|||||||
if (x) *x = w.ws_col;
|
if (x) *x = w.ws_col;
|
||||||
if (y) *y = w.ws_row;
|
if (y) *y = w.ws_row;
|
||||||
#else
|
#else
|
||||||
if (x) *x = 24;
|
|
||||||
if (x) *x = 80;
|
if (x) *x = 80;
|
||||||
|
if (y) *y = 24;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user