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 (y) *y = w.ws_row;
|
||||
#else
|
||||
if (x) *x = 24;
|
||||
if (x) *x = 80;
|
||||
if (y) *y = 24;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
@ -208,8 +208,8 @@ SWITCH_DECLARE(void) switch_core_screen_size(int *x, int *y)
|
|||
if (x) *x = w.ws_col;
|
||||
if (y) *y = w.ws_row;
|
||||
#else
|
||||
if (x) *x = 24;
|
||||
if (x) *x = 80;
|
||||
if (y) *y = 24;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue