*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
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);
}