Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/listview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/listview.cc b/src/ui/listview.cc
index c72cd59..aee4afd 100644
--- a/src/ui/listview.cc
+++ b/src/ui/listview.cc
@@ -35,7 +35,7 @@ void ListView::set_scroll(float scroll)
// calculate maximal scroll size
float nb_items = 0;
- for (Children::iterator it = children().begin(); it != children().end(); it++) {
+ for (Children::iterator it = children().begin(); it != children().end(); ++it) {
if ((*it) != static_cast<Widget *>(listview_scrollbar)) {
nb_items += 1.0f;
}
@@ -68,7 +68,7 @@ void ListView::resize()
float nb_items = 0;
// reposition all children within the container
- for (Children::iterator it = children().begin(); it != children().end(); it++) {
+ for (Children::iterator it = children().begin(); it != children().end(); ++it) {
if ((*it) != static_cast<Widget *>(listview_scrollbar)) {
(*it)->set_width(width() - listview_scrollbar->width());
@@ -98,7 +98,7 @@ void ListView::resize()
listview_scrollbar->set_value(listview_scroll);
listview_scrollbar->show();
} else {
- for (Children::iterator it = children().begin(); it != children().end(); it++) {
+ for (Children::iterator it = children().begin(); it != children().end(); ++it) {
if ((*it) != static_cast<Widget *>(listview_scrollbar)) {
(*it)->set_width(width());
}