]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/encconv.cpp
make sure svn info for an already existing .xcodeproj folder is not deleted, replace...
[wxWidgets.git] / src / common / encconv.cpp
index a4b7143ff38981b27ec237acda1f7e03ac77e72d..fdfa64eb6a0a8e018cf8b79523e4567469a87c39 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        encconv.cpp
+// Name:        src/common/encconv.cpp
 // Purpose:     wxEncodingConverter class for converting between different
 //              font encodings
 // Author:      Vaclav Slavik
@@ -116,7 +116,7 @@ bool wxEncodingConverter::Init(wxFontEncoding input_enc, wxFontEncoding output_e
     const wxUint16 *in_tbl;
     const wxUint16 *out_tbl = NULL;
 
-    if (m_Table) {delete[] m_Table; m_Table = NULL;}
+    wxDELETEA(m_Table);
 
     if (input_enc == output_enc) {m_JustCopy = true; return true;}