]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helphtml.cpp
fixed memory allocation code of wxStreamBuffer to not realloc() new[]ed memory any...
[wxWidgets.git] / src / generic / helphtml.cpp
index 2005af7c14775efb8196e8092f699ea363d2c820..1f3f59250fb1044c8e903367600b2f9425a8ba85 100644 (file)
@@ -166,7 +166,7 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
    m_MapList = new wxList;
    m_NumOfEntries = 0;
 
-   FILE *input = wxFopen(mapFile.fn_str(),wxT("rt"));
+   FILE *input = wxFopen(mapFile,wxT("rt"));
    if(! input)
       return FALSE;
    do