From a6b7e20ad42c49c2c3d90403dfb5d6993e8a12a9 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Tue, 23 Sep 2008 09:09:16 +0000 Subject: [PATCH] Fix a legitimate overrun in _widths (coverity 575), and try not to be as clever. svn path=/trunk/; revision=36421 --- reactos/base/shell/explorer/shell/pane.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/shell/explorer/shell/pane.cpp b/reactos/base/shell/explorer/shell/pane.cpp index a5fde1c6184..b79a145bb5d 100644 --- a/reactos/base/shell/explorer/shell/pane.cpp +++ b/reactos/base/shell/explorer/shell/pane.cpp @@ -774,8 +774,8 @@ void Pane::calc_single_width(int col) x = _positions[col] + cx; - for(; col