Revision 358664cc
b/console.c | ||
---|---|---|
1060 | 1060 |
|
1061 | 1061 |
if (index >= MAX_CONSOLES) |
1062 | 1062 |
return; |
1063 |
active_console->g_width = ds_get_width(active_console->ds); |
|
1064 |
active_console->g_height = ds_get_height(active_console->ds); |
|
1063 |
if (active_console) { |
|
1064 |
active_console->g_width = ds_get_width(active_console->ds); |
|
1065 |
active_console->g_height = ds_get_height(active_console->ds); |
|
1066 |
} |
|
1065 | 1067 |
s = consoles[index]; |
1066 | 1068 |
if (s) { |
1067 | 1069 |
DisplayState *ds = s->ds; |
Also available in: Unified diff