Ignore:
Timestamp:
Nov 23, 2000, 7:36:41 PM (25 years ago)
Author:
umoeller
Message:

Updates for V0.9.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/prfh.c

    r8 r13  
    263263{
    264264    CHAR szColor[30];
    265     LONG r, g, b;
     265    ULONG r, g, b;
    266266    PrfQueryProfileString(
    267267                HINI_USER,
     
    271271                szColor,
    272272                sizeof(szColor)-1);
    273     sscanf(szColor, "%d %d %d ", &r, &g, &b);
    274     return (r*0x10000 + g*0x100 + b);
     273    sscanf(szColor, "%lu %lu %lu ", &r, &g, &b);
     274    return (LONG)(r*0x10000 + g*0x100 + b);
    275275}
    276276
     
    468468            if (PrfQueryProfile(hab, &Profiles))
    469469            {
    470                 _Pmpf(("Old user profile: %s", Profiles.pszUserName));
     470                // _Pmpf(("Old user profile: %s", Profiles.pszUserName));
    471471
    472472                // change INIs
Note: See TracChangeset for help on using the changeset viewer.