]> git.saurik.com Git - wxWidgets.git/commit
Change the loop condition to avoid comparing unsigned value with 0.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 17:50:32 +0000 (17:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 17:50:32 +0000 (17:50 +0000)
commit99ef43728a01f5eb761e32473549b895759aa12b
tree0943bf20223cd1c3fc2cea3f4a20a171ff2e3c22
parentb02d50281d71a81598449d33d54c1fc5f7c9dd5a
Change the loop condition to avoid comparing unsigned value with 0.

This resulted in (useful) g++ warning and didn't make any sense in any case.

Check for the loop variable value being 0 at the end of the loop instead now.
If the old code was correct it shouldn't change its behaviour and if not, this
might fix a bug.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/datavgen.cpp