]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpfrm.cpp
compilation fix for non-threaded compilation (threads are still broken
[wxWidgets.git] / src / html / helpfrm.cpp
index a8a753dc46cdaf1d2b20ad591b43c0d0b152930e..aa742ebb450288af7d1aa29fe9dfd5b49c29fbe7 100644 (file)
@@ -624,11 +624,11 @@ void wxHtmlHelpFrame::ReadCustomization(wxConfigBase *cfg, const wxString& path)
             }
                     
             for (i = 0; i < cnt; i++) {
-                val.Printf("hcBookmark_%i", i);
+                val.Printf(wxT("hcBookmark_%i"), i);
                 s = cfg -> Read(val);
                 m_BookmarksNames.Add(s);
                 if (m_Bookmarks) m_Bookmarks -> Append(s);
-                val.Printf("hcBookmark_%i_url", i);
+                val.Printf(wxT("hcBookmark_%i_url"), i);
                 s = cfg -> Read(val);
                 m_BookmarksPages.Add(s);
             }
@@ -669,9 +669,9 @@ void wxHtmlHelpFrame::WriteCustomization(wxConfigBase *cfg, const wxString& path
         
         cfg -> Write("hcBookmarksCnt", (long)cnt);
         for (i = 0; i < cnt; i++) {
-            val.Printf("hcBookmark_%i", i);
+            val.Printf(wxT("hcBookmark_%i"), i);
             cfg -> Write(val, m_BookmarksNames[i]);
-            val.Printf("hcBookmark_%i_url", i);
+            val.Printf(wxT("hcBookmark_%i_url"), i);
             cfg -> Write(val, m_BookmarksPages[i]);
         }
     }