Changeset 1810 for trunk/src


Ignore:
Timestamp:
Nov 22, 1999, 9:33:25 PM (26 years ago)
Author:
sandervl
Message:

EB's fixes + removal of GetIconInfo hack

Location:
trunk/src/user32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/static.cpp

    r1801 r1810  
    1 /* $Id: static.cpp,v 1.11 1999-11-21 17:07:51 cbratschi Exp $ */
     1/* $Id: static.cpp,v 1.12 1999-11-22 20:33:24 sandervl Exp $ */
    22/*
    33 * Static control
     
    109109    DWORD dwStyle = GetWindowLongA(hwnd,GWL_STYLE);
    110110
     111    if (infoPtr == NULL)
     112      return 0;
     113
    111114    if ((dwStyle & SS_TYPEMASK) != SS_BITMAP) return 0;
    112115
  • trunk/src/user32/winicon.cpp

    r1749 r1810  
    1 /* $Id: winicon.cpp,v 1.4 1999-11-14 23:29:25 sandervl Exp $ */
     1/* $Id: winicon.cpp,v 1.5 1999-11-22 20:33:25 sandervl Exp $ */
    22/*
    33 * Win32 Icon Code for OS/2
     
    199199    dprintf(("USER32: GetIconInfo %x", hIcon));
    200200    rc = O32_GetIconInfo(hIcon, pIconInfo);
    201 #if 1
     201#if 0
    202202    if(rc && pIconInfo->hbmColor)
    203203    {
  • trunk/src/user32/wsprintf.cpp

    r1593 r1810  
    1 /* $Id: wsprintf.cpp,v 1.1 1999-11-04 18:35:41 phaller Exp $ */
     1/* $Id: wsprintf.cpp,v 1.2 1999-11-22 20:33:25 sandervl Exp $ */
    22
    33/*
     
    318318    WPRINTF_DATA argData;
    319319
    320     while (*spec && (maxlen > 1))
     320    while (spec && *spec && (maxlen > 1))
    321321    {
    322322        if (*spec != '%') { *p++ = *spec++; maxlen--; continue; }
     
    396396    CHAR number[20];
    397397
    398     while (*spec && (maxlen > 1))
     398    while (spec && *spec && (maxlen > 1))
    399399    {
    400400        if (*spec != '%') { *p++ = *spec++; maxlen--; continue; }
Note: See TracChangeset for help on using the changeset viewer.