]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for % symbols going missing from style parameter
authorJulian Smart <julian@anthemion.co.uk>
Sun, 12 Sep 2010 16:16:48 +0000 (16:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 12 Sep 2010 16:16:48 +0000 (16:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextxml.cpp

index cec168765d07487d35d6693d6adb7677aca5f8e4..e257814c1e73a571c8263a431079357ba004d05d 100644 (file)
@@ -825,7 +825,7 @@ bool wxRichTextXMLHandler::ExportXML(wxOutputStream& stream, wxMBConv* convMem,
         }
         else
         {
-            OutputString(stream, wxString::Format(wxT(" imagetype=\"%d\"") + style + wxT(">"), (int) imageObj.GetImageBlock().GetImageType()));
+            OutputString(stream, wxString::Format(wxT(" imagetype=\"%d\""), (int) imageObj.GetImageBlock().GetImageType()) + style + wxT(">"));
         }
 
         OutputIndentation(stream, indent+1);