Ignore:
Timestamp:
May 15, 2001, 6:15:18 PM (24 years ago)
Author:
umoeller
Message:

Lotsa fixes from the last two weeks.

File:
1 edited

Legend:

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

    r59 r68  
    467467    {
    468468        // get applications list for sounds list in MMPM.INI
    469         PSZ pszKeysList = prfhQueryKeysForApp(hiniMMPM,
    470                                               MMINIKEY_SYSSOUNDS); // "MMPM2_AlarmSounds"
    471         if (pszKeysList)
     469        PSZ pszKeysList = NULL;
     470        if (!(arc = prfhQueryKeysForApp(hiniMMPM,
     471                                        MMINIKEY_SYSSOUNDS, // "MMPM2_AlarmSounds"
     472                                        &pszKeysList)))
    472473        {
    473474            PSZ     pKey2 = pszKeysList;
     
    594595
    595596            // get applications list for sounds list in MMPM.INI
    596             PSZ pszMMPMKeysList = prfhQueryKeysForApp(hiniMMPM,
    597                                                   MMINIKEY_SYSSOUNDS); // "MMPM2_AlarmSounds"
    598             if (pszMMPMKeysList)
     597            PSZ pszMMPMKeysList = NULL;
     598            if (!(arc = prfhQueryKeysForApp(hiniMMPM,
     599                                            MMINIKEY_SYSSOUNDS,// "MMPM2_AlarmSounds"
     600                                            &pszMMPMKeysList)))
    599601            {
    600602                PSZ     pMMPMKey2 = pszMMPMKeysList,
Note: See TracChangeset for help on using the changeset viewer.