mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[EXPLORER]
Make fix of r51022 compiler independant, on Johannes' suggestion. svn path=/trunk/; revision=51024
This commit is contained in:
@@ -702,7 +702,10 @@ void Pane::set_header()
|
||||
item.mask = HDI_WIDTH;
|
||||
item.cxy = 0;
|
||||
|
||||
for(; i<COLUMNS && x+_widths[i]<scroll_pos; i++) {
|
||||
for(; i<COLUMNS; i++) {
|
||||
if (x + _widths[i] >= scroll_pos)
|
||||
break;
|
||||
|
||||
x += _widths[i];
|
||||
Header_SetItem(_hwndHeader, i, &item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user