Diff for /np2/win9x/debuguty/viewseg.cpp between versions 1.4 and 1.5

version 1.4, 2005/02/04 05:32:25 version 1.5, 2005/02/09 20:11:36
Line 26  static void viewseg_paint(NP2VIEW_T *vie Line 26  static void viewseg_paint(NP2VIEW_T *vie
         DWORD   off;          DWORD   off;
         BYTE    *p;          BYTE    *p;
         BYTE    buf[16];          BYTE    buf[16];
         char    str[16];          OEMCHAR str[16];
         HFONT   hfont;          HFONT   hfont;
   
         hfont = CreateFont(16, 0, 0, 0, 0, 0, 0, 0,           hfont = CreateFont(16, 0, 0, 0, 0, 0, 0, 0, 
Line 57  static void viewseg_paint(NP2VIEW_T *vie Line 57  static void viewseg_paint(NP2VIEW_T *vie
         }          }
   
         for (y=0; y<rc->bottom && off<0x10000; y+=16, off+=16) {          for (y=0; y<rc->bottom && off<0x10000; y+=16, off+=16) {
                 wsprintf(str, "%04x:%04x", view->seg, off);                  OEMSPRINTF(str, OEMTEXT("%04x:%04x"), view->seg, off);
                 TextOut(hdc, 0, y, str, 9);                  TextOut(hdc, 0, y, str, 9);
                 if (view->lock) {                  if (view->lock) {
                         p = (BYTE *)view->buf1.ptr;                          p = (BYTE *)view->buf1.ptr;

Removed from v.1.4  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>