Changeset 870


Ignore:
Timestamp:
Nov 13, 2007, 10:44:36 PM (13 years ago)
Author:
Gregg Young
Message:

Fixed Hex formating problem (ticket 174) caused by open watcom same as Ticket 143 at different locations. Added 3.08 release comment to version.h

Location:
trunk/dll
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/autoview.c

    r858 r870  
    248248      pchOut += 6 + (fLongAddr ? 4 : 0);
    249249      do {
    250         sprintf(pchOut, "%02hx ", *pchIn);
     250        sprintf(pchOut, "%02x ", (UCHAR)*pchIn);
    251251        pchOut += 3;
    252252        pchIn++;
  • trunk/dll/eas.c

    r847 r870  
    254254      a = s + 6;
    255255      do {
    256         sprintf(a, "%02hx ", *p);
     256        sprintf(a, "%02x ", (UCHAR)*p);
    257257        a += 3;
    258258        p++;
  • trunk/dll/newview.c

    r858 r870  
    297297          p = s + 9;
    298298          for (y = 0; y < width; y++) {
    299             sprintf(p, " %02hx", ad->text[(x * 16) + y]);
     299            sprintf(p, " %02x", (UCHAR)ad->text[(x * 16) + y]);
    300300            p += 3;
    301301          }
     
    791791      p = s + 9;
    792792      for (x = 0; x < width; x++) {
    793         sprintf(p, " %02hx", ad->text[(whichline * 16) + x]);
     793        sprintf(p, " %02x", (UCHAR)ad->text[(whichline * 16) + x]);
    794794        p += 3;
    795795      }
     
    23482348            p = s + 9;
    23492349            for (x = 0; x < width; x++) {
    2350               sprintf(p, " %02hx", ad->text[(whichline * 16) + x]);
     2350              sprintf(p, " %02x", (UCHAR)ad->text[(whichline * 16) + x]);
    23512351              p += 3;
    23522352            }
  • trunk/dll/version.h

    r866 r870  
    4545  21 Aug 07 GKY v3.07beta01: Release
    4646  31 Aug 07 GKY v3.07: Release modified ini structure
     47  11 Nov 07 GKY v3.08 Release large file support
    4748
    4849***********************************************************************/
Note: See TracChangeset for help on using the changeset viewer.