equal
deleted
inserted
replaced
736 SetWindowDirty(w); |
736 SetWindowDirty(w); |
737 } |
737 } |
738 |
738 |
739 // routine to disable/enable the zoom buttons. Didn't know where to place these otherwise |
739 // routine to disable/enable the zoom buttons. Didn't know where to place these otherwise |
740 { |
740 { |
741 Window * wt; |
741 Window *wt = NULL; |
742 switch (w->window_class) { |
742 switch (w->window_class) { |
743 case WC_MAIN_WINDOW: |
743 case WC_MAIN_WINDOW: |
744 wt = FindWindowById(WC_MAIN_TOOLBAR, 0); |
744 wt = FindWindowById(WC_MAIN_TOOLBAR, 0); |
745 break; |
745 break; |
746 case WC_EXTRA_VIEW_PORT: |
746 case WC_EXTRA_VIEW_PORT: |