]> git.saurik.com Git - wxWidgets.git/commit
Replace incorrect uses of wxString::empty() with the intended clear().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Feb 2012 13:58:58 +0000 (13:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Feb 2012 13:58:58 +0000 (13:58 +0000)
commit59859d3da18244fa31f82c30ded14f619c3c967f
tree60e1caa058145a964a76308480a8534b944d2d6b
parent14aed066ad1a572673a1b9603725c60cc108c009
Replace incorrect uses of wxString::empty() with the intended clear().

empty() doesn't empty the string but just checks for its emptiness, clear()
was supposed to be used here instead.

Thanks to PVS-Studio for finding these problems.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/translation.cpp
src/msw/registry.cpp