From 5ca049a4ad34de9ea5f3787d0d9e35a395fbf9df Mon Sep 17 00:00:00 2001 From: Peter Berg Larsen Date: Wed, 8 Oct 2003 19:18:33 +0000 Subject: [PATCH] Moved debug output up before calling the backend. --- programs/wineconsole/wineconsole.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c index c30fc4bad49..f7e31a6ac38 100644 --- a/programs/wineconsole/wineconsole.c +++ b/programs/wineconsole/wineconsole.c @@ -309,38 +309,38 @@ int WINECON_GrabChanges(struct inner_data* data) case CONSOLE_RENDERER_CURSOR_POS_EVENT: if (evts[i].u.cursor_pos.x != data->cursor.X || evts[i].u.cursor_pos.y != data->cursor.Y) { + if (WINE_TRACE_ON(wineconsole)) + WINE_TRACE(" curs-pos(%d,%d)",evts[i].u.cursor_pos.x, evts[i].u.cursor_pos.y); data->cursor.X = evts[i].u.cursor_pos.x; data->cursor.Y = evts[i].u.cursor_pos.y; data->fnPosCursor(data); - if (WINE_TRACE_ON(wineconsole)) - WINE_TRACE(" curs-pos(%d,%d)",evts[i].u.cursor_pos.x, evts[i].u.cursor_pos.y); } break; case CONSOLE_RENDERER_CURSOR_GEOM_EVENT: if (evts[i].u.cursor_geom.size != data->curcfg.cursor_size || evts[i].u.cursor_geom.visible != data->curcfg.cursor_visible) { - data->fnShapeCursor(data, evts[i].u.cursor_geom.size, - evts[i].u.cursor_geom.visible, FALSE); if (WINE_TRACE_ON(wineconsole)) WINE_TRACE(" curs-geom(%d,%d)", evts[i].u.cursor_geom.size, evts[i].u.cursor_geom.visible); + data->fnShapeCursor(data, evts[i].u.cursor_geom.size, + evts[i].u.cursor_geom.visible, FALSE); } break; case CONSOLE_RENDERER_DISPLAY_EVENT: if (evts[i].u.display.left != data->curcfg.win_pos.X) { - data->fnScroll(data, evts[i].u.display.left, TRUE); - data->fnPosCursor(data); if (WINE_TRACE_ON(wineconsole)) WINE_TRACE(" h-scroll(%d)", evts[i].u.display.left); + data->fnScroll(data, evts[i].u.display.left, TRUE); + data->fnPosCursor(data); } if (evts[i].u.display.top != data->curcfg.win_pos.Y) { - data->fnScroll(data, evts[i].u.display.top, FALSE); - data->fnPosCursor(data); if (WINE_TRACE_ON(wineconsole)) WINE_TRACE(" v-scroll(%d)", evts[i].u.display.top); + data->fnScroll(data, evts[i].u.display.top, FALSE); + data->fnPosCursor(data); } if (evts[i].u.display.width != data->curcfg.win_width || evts[i].u.display.height != data->curcfg.win_height)