X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d0cf3f9be68172d67ed1e82975ea5f080989a33..bf2c43c76e2819be443ab1d830ab68d9569d66b1:/src/generic/vscroll.cpp diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index 0572b8e07b..3a66aa34b5 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: Brad Anderson, David Warkentin // Created: 30.05.03 -// RCS-ID: $Id$ // Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -487,10 +486,10 @@ void wxVarScrollHelperBase::RefreshUnits(size_t from, size_t to) to = GetVisibleEnd(); // calculate the rect occupied by these units on screen - int orient_size, nonorient_size, orient_pos; - orient_size = nonorient_size = orient_pos = 0; + int orient_size = 0, + orient_pos = 0; - nonorient_size = GetNonOrientationTargetSize(); + int nonorient_size = GetNonOrientationTargetSize(); for ( size_t nBefore = GetVisibleBegin(); nBefore < from;