(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
authorbelugas
Wed, 18 Jun 2008 02:04:01 +0000
changeset 11004 2304148338a4
parent 11003 0cfeb1bc55a7
child 11005 48b2f39c5e1b
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
src/toolbar_gui.cpp
--- a/src/toolbar_gui.cpp	Tue Jun 17 23:51:17 2008 +0000
+++ b/src/toolbar_gui.cpp	Wed Jun 18 02:04:01 2008 +0000
@@ -1152,7 +1152,7 @@
 		}
 		uint extra_spacing_at[] = { 3, 4, 7, 8, 10, 16, 0 };
 
-		for (uint i = 0, x = 0, j = 0, b = 0; i < this->widget_count - 1; i++) {
+		for (uint i = 0, x = 0, j = 0, b = 0; i < this->widget_count; i++) {
 			switch (i) {
 				case 4:
 					this->widget[i].left = x;