Changeset 1427 for trunk/dll/mainwnd.c


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.