[curses] Debugchannel changed to curses (4/4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
- Change debugchannel to "curses" to seperate it from wineconsole.c and
add some trace infomation.
diff -b -u wine-20030911/programs/wineconsole/curses.c wine-my/programs/wineconsole/curses.c
--- wine-20030911/programs/wineconsole/curses.c	2003-09-07 07:08:14.000000000 +0200
+++ wine-my/programs/wineconsole/curses.c	2003-09-13 02:52:09.000000000 +0200
@@ -53,7 +53,7 @@
 #include "wine/server.h"
 #include "wine/debug.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(wineconsole);
+WINE_DEFAULT_DEBUG_CHANNEL(curses);
 
 #define PRIVATE(data)   ((struct inner_data_curse*)((data)->private))
 
@@ -299,6 +299,9 @@
     prefresh(PRIVATE(data)->pad,
              data->curcfg.win_pos.Y, data->curcfg.win_pos.X,
              0, 0, scr_height-1, scr_width-1);
+
+    WINE_TRACE("(%dx%d + %dx%d, 0x0-%dx%d)",data->cursor.Y, data->cursor.X, 
+	       data->curcfg.win_pos.Y, data->curcfg.win_pos.X, scr_height-1, scr_width-1);
 }
 
 /******************************************************************
@@ -839,7 +842,7 @@
     
     if ((inchar = wgetch(stdscr)) == ERR) {WINE_FIXME("Ooch. somebody beat us\n");return;}
     
-    WINE_TRACE("Got %d\n", inchar);
+    WINE_TRACE("Got o%o (0x%x)\n", inchar,inchar);
     
     if (inchar & KEY_CODE_YES)
     {

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux