Changeset 1427


Ignore:
Timestamp:
Jun 7, 2009, 9:42:16 PM (16 years ago)
Author:
Gregg Young
Message:

Fix IDM_BLINK to not leave a DataBar on the screen when fDataMin is TRUE. (Ticket 364) Remove unused variable from stubbyscan struct

Location:
trunk/dll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/filldir.c

    r1424 r1427  
    132132  HWND        hwndCnr;                  // hwnd you want the message posted to
    133133  HWND        hwndDrivesList;
    134   BOOL        RamDrive;
     134  //BOOL        RamDrive;
    135135}
    136136STUBBYSCAN;
     
    17031703      stubbyScan->hwndCnr = hwndCnr;
    17041704      stubbyScan->hwndDrivesList = hwndDrivesList;
    1705       stubbyScan->RamDrive = FALSE;
     1705      //stubbyScan->RamDrive = FALSE;
    17061706      pciNext = (PCNRITEM) WinSendMsg(hwndCnr,
    17071707                                      CM_QUERYRECORD,
     
    17161716              (!fNoRemovableScan || ~flags & DRIVE_REMOVABLE)) //&& !fDrivetoSkip[drvNum])
    17171717          {
    1718             if (DRIVE_RAMDISK)
    1719               stubbyScan->RamDrive = TRUE;
     1718            //if (DRIVE_RAMDISK)
     1719            //  stubbyScan->RamDrive = TRUE;
    17201720            if (xbeginthread(StubbyScanThread,
    17211721                             65536,
  • trunk/dll/mainwnd.c

    r1410 r1427  
    46934693
    46944694  case IDM_BLINK:
    4695     WinSetWindowPos(WinQueryWindow(hwnd, QW_PARENT), HWND_TOP, 0, 0, 0, 0,
    4696                     SWP_MINIMIZE);
    4697     WinSetWindowPos(WinQueryWindow(hwnd, QW_PARENT), HWND_TOP, 0, 0, 0, 0,
    4698                     SWP_RESTORE | SWP_ZORDER);
    4699     break;
     4695    {
     4696      BOOL changed = FALSE;
     4697
     4698      if (fDataMin) {
     4699        fDataMin = FALSE;
     4700        changed = TRUE;
     4701      }
     4702      WinSetWindowPos(WinQueryWindow(hwnd, QW_PARENT), HWND_TOP, 0, 0, 0, 0,
     4703                      SWP_MINIMIZE);
     4704      WinSetWindowPos(WinQueryWindow(hwnd, QW_PARENT), HWND_TOP, 0, 0, 0, 0,
     4705                      SWP_RESTORE | SWP_ZORDER);
     4706      if (changed)
     4707        fDataMin = TRUE;
     4708      break;
     4709    }
    47004710
    47014711  case DID_CANCEL:
Note: See TracChangeset for help on using the changeset viewer.