]> git.saurik.com Git - wxWidgets.git/commitdiff
Small bugfix for wxString::Printf regarding %hs...
authorOve Kaaven <ovek@arcticnet.no>
Sat, 24 Apr 1999 13:07:43 +0000 (13:07 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Sat, 24 Apr 1999 13:07:43 +0000 (13:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index 539b631152acd01c5725c91c17570dde391aa2e7..9b9cc89f0f6bc4d570282b819726dd6536cb5ee3 100644 (file)
@@ -1185,8 +1185,8 @@ int wxString::PrintfV(const wxChar* pszFormat, va_list argptr)
            if (s.Len() < min_width)
              s.Pad(min_width - s.Len(), _T(' '), adj_left);
            *this += s;
-           done = TRUE;
          }
+         done = TRUE;
          break;
        case _T('n'):
          if (ilen == 0) {