projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[EXPLORER]
[reactos.git]
/
reactos
/
base
/
shell
/
explorer
/
shell
/
pane.cpp
diff --git
a/reactos/base/shell/explorer/shell/pane.cpp
b/reactos/base/shell/explorer/shell/pane.cpp
index
b5fd6ab
..
1e69b60
100644
(file)
--- a/
reactos/base/shell/explorer/shell/pane.cpp
+++ b/
reactos/base/shell/explorer/shell/pane.cpp
@@
-702,7
+702,7
@@
void Pane::set_header()
item.mask = HDI_WIDTH;
item.cxy = 0;
- for(;
x+_widths[i]<scroll_pos && i<COLUMNS
; i++) {
+ for(;
i<COLUMNS && x+_widths[i]<scroll_pos
; i++) {
x += _widths[i];
Header_SetItem(_hwndHeader, i, &item);
}