From 57664d7105c0aae7545d698dde215e48db8bc95a Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 12 Mar 2011 11:53:55 +0000 Subject: [PATCH] [EXPLORER] Make fix of r51022 compiler independant, on Johannes' suggestion. svn path=/trunk/; revision=51024 --- reactos/base/shell/explorer/shell/pane.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/base/shell/explorer/shell/pane.cpp b/reactos/base/shell/explorer/shell/pane.cpp index 1e69b60d828..0273fb67802 100644 --- a/reactos/base/shell/explorer/shell/pane.cpp +++ b/reactos/base/shell/explorer/shell/pane.cpp @@ -702,7 +702,10 @@ void Pane::set_header() item.mask = HDI_WIDTH; item.cxy = 0; - for(; i= scroll_pos) + break; + x += _widths[i]; Header_SetItem(_hwndHeader, i, &item); }