Merge pull request #7242 from joshuastray/scrollview_fix

fix scrollview crashes on win32 because of variable returned without ini...
This commit is contained in:
minggo 2014-06-30 17:43:26 +08:00
commit f39fa108bb
1 changed files with 1 additions and 1 deletions

View File

@ -894,7 +894,7 @@ bool ScrollView::scrollChildrenVertical(float touchOffsetX, float touchOffsetY)
bool ScrollView::scrollChildrenHorizontal(float touchOffsetX, float touchOffestY)
{
bool scrollenabled;
bool scrollenabled = false;
float realOffset = touchOffsetX;
if (_bounceEnabled)
{