diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-02-07 17:05:41 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-02-07 17:05:41 (GMT) |
commit | f84671ef8ef8dc9050d37c633418f0aa00318547 (patch) | |
tree | a6f923175a9348a641aaaf9edf734189bde3ca44 /src/FbTk | |
parent | bd983fab553f4971caaed945e0194e162fa49ae6 (diff) | |
download | fluxbox-f84671ef8ef8dc9050d37c633418f0aa00318547.zip fluxbox-f84671ef8ef8dc9050d37c633418f0aa00318547.tar.bz2 |
Minor
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 333da7b..0a7c20a 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -1038,8 +1038,8 @@ void Menu::exposeEvent(XExposeEvent &ee) { | |||
1038 | size_t row = ee.y / item_h; | 1038 | size_t row = ee.y / item_h; |
1039 | size_t end_row = ((ee.y + ee.height) / item_h); | 1039 | size_t end_row = ((ee.y + ee.height) / item_h); |
1040 | 1040 | ||
1041 | if (end_row > m_rows_per_column) | 1041 | if (end_row > static_cast<size_t>(m_rows_per_column)) |
1042 | end_row = m_rows_per_column; | 1042 | end_row = static_cast<size_t>(m_rows_per_column); |
1043 | 1043 | ||
1044 | for (size_t j = (ee.x / m_item_w); j < t; j++) { | 1044 | for (size_t j = (ee.x / m_item_w); j < t; j++) { |
1045 | 1045 | ||