[wineconsole] Debug traces and a comment (3/4)
Peter Berg Larsen
pebl at math.ku.dk
Sat Nov 29 00:59:19 CST 2003
Changelog:
- Add debug traces to the last two console render events.
-------------- next part --------------
diff -ur wine-20031016/programs/wineconsole/wineconsole.c wine-my/programs/wineconsole/wineconsole.c
--- wine-20031016/programs/wineconsole/wineconsole.c 2003-10-15 23:01:05.000000000 +0200
+++ wine-my/programs/wineconsole/wineconsole.c 2003-10-22 15:41:03.000000000 +0200
@@ -245,7 +245,7 @@
continue;
}
- if (ev_found != -1 &&
+ if (ev_found != -1 && /* Only 2 cases where they can NOT merge */
!(evts[i ].u.update.bottom + 1 < evts[ev_found].u.update.top ||
evts[ev_found].u.update.bottom + 1 < evts[i ].u.update.top))
{
@@ -264,8 +264,10 @@
switch (evts[i].event)
{
case CONSOLE_RENDERER_NONE_EVENT:
+ WINE_TRACE(" NOP");
break;
case CONSOLE_RENDERER_TITLE_EVENT:
+ WINE_TRACE(" title()");
data->fnSetTitle(data);
break;
case CONSOLE_RENDERER_ACTIVE_SB_EVENT:
More information about the wine-patches
mailing list