diff options
author | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
commit | 894a7148be8ac88f7f1e98917f33088ab301bf60 (patch) | |
tree | b9c3bd9fa04a64babc749a319a5610caabea9479 /src/Screen.cc | |
parent | 0ca3754d683b862762695d1be891c98410f439ac (diff) | |
download | fluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.zip fluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.tar.bz2 |
size_t fixes, thanks Semushin Slava aka php-coder
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index e139f74..4eae1b6 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -158,7 +158,9 @@ int anotherWMRunning(Display *display, XErrorEvent *) { | |||
158 | 158 | ||
159 | class TabPlacementMenuItem: public FbTk::MenuItem { | 159 | class TabPlacementMenuItem: public FbTk::MenuItem { |
160 | public: | 160 | public: |
161 | TabPlacementMenuItem(const char * label, BScreen &screen, FbWinFrame::TabPlacement place, FbTk::RefCount<FbTk::Command> &cmd): | 161 | TabPlacementMenuItem(const char * label, BScreen &screen, |
162 | FbWinFrame::TabPlacement place, | ||
163 | FbTk::RefCount<FbTk::Command> &cmd): | ||
162 | FbTk::MenuItem(label, cmd), | 164 | FbTk::MenuItem(label, cmd), |
163 | m_screen(screen), | 165 | m_screen(screen), |
164 | m_place(place) { } | 166 | m_place(place) { } |
@@ -853,7 +855,7 @@ void BScreen::reconfigure() { | |||
853 | if (restore_menus) { | 855 | if (restore_menus) { |
854 | // restore submenus, no timestamp changed | 856 | // restore submenus, no timestamp changed |
855 | FbTk::Menu *menu = m_rootmenu.get(); | 857 | FbTk::Menu *menu = m_rootmenu.get(); |
856 | for (unsigned int i = 0; i < remember_sub.size(); i++ ) { | 858 | for (size_t i = 0; i < remember_sub.size(); i++ ) { |
857 | int sub = remember_sub[i]; | 859 | int sub = remember_sub[i]; |
858 | if (!menu || sub < 0) | 860 | if (!menu || sub < 0) |
859 | break; | 861 | break; |