]> git.saurik.com Git - wxWidgets.git/commitdiff
Write a newline, not a 10 into the stream
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Jan 2007 13:54:29 +0000 (13:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Jan 2007 13:54:29 +0000 (13:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/docview/doc.cpp

index 82ddbae73f4e69214f4b2edfc46ae50c94c23f61..87a24dad4e9e6988ff5844f4f7d89c23ce97e169 100644 (file)
@@ -172,7 +172,7 @@ wxOutputStream &DoodleSegment::SaveObject(wxOutputStream& stream)
     wxTextOutputStream text_stream( stream );
 
     wxInt32 n = lines.GetCount();
     wxTextOutputStream text_stream( stream );
 
     wxInt32 n = lines.GetCount();
-    text_stream << n << _T('\n');
+    text_stream << n << _T("\n");
 
     wxList::compatibility_iterator node = lines.GetFirst();
     while (node)
 
     wxList::compatibility_iterator node = lines.GetFirst();
     while (node)