summaryrefslogtreecommitdiff
path: root/curses.c
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 03:32:33 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-24 03:32:33 +0000
commitc21bbcfa3ff4f6dc49fb01080ef598851aa424dd (patch)
tree59698825cba06921d0ac57d67e12614c4519fea9 /curses.c
parent38334f76300260480e3bd3b77cb5b86fd3d66038 (diff)
Reintroduce TEXT_CONSOLE_FIXED_SIZE and TEXT_CONSOLE for resizable vc's.
This partially reverts r4812 to fix an issue highlighted by Ryan Harper with all vc's being fixed size which prevented backends with resizable window (curses) from displaying okay. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5309 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'curses.c')
-rw-r--r--curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curses.c b/curses.c
index 96b6e49332..7c82377eff 100644
--- a/curses.c
+++ b/curses.c
@@ -60,7 +60,7 @@ static void curses_update(DisplayState *ds, int x, int y, int w, int h)
static void curses_calc_pad(void)
{
- if (is_graphic_console()) {
+ if (is_fixedsize_console()) {
width = gwidth;
height = gheight;
} else {