X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d0cf3f9be68172d67ed1e82975ea5f080989a33..dec0a353ff73e2c335536a0422428beca7359ee7:/src/generic/vscroll.cpp diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index 0572b8e07b..589451775c 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -487,10 +487,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;