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:
Stefan Knoblich 2012-09-26 17:19:15 +02:00
parent 0fc0b99950
commit 8075b01569
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}