]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/xlputils.cpp
don't pass potentially negative index to SetSelection()
[wxWidgets.git] / utils / tex2rtf / src / xlputils.cpp
index 39408d89662835f9dfd5327d6c1db198a86ad538..1a56cd04d9381b3cbaf57a8ed583d94bea139a62 100644 (file)
 #include "tex2rtf.h"
 #include <ctype.h>
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 long currentBlockId = -1;
 static TexChunk *descriptionItemArg = NULL;