Patch #1064 2006-05-22 13:49

heromyth

Fixes for ToolsManager crashing with localized CB
Download
1064-Fixes_for_Tool.patch (495 bytes)
Category
 
Status
Accepted
Close date
2006-05-22 18:19
Assigned to
 
Index: D:/codeblocks/src/sdk/toolsmanager.cpp
===================================================================
--- D:/codeblocks/src/sdk/toolsmanager.cpp    (revision 2483)
+++ D:/codeblocks/src/sdk/toolsmanager.cpp    (working copy)
@@ -307,7 +307,7 @@
 
         // prepend a 0-padded 2-digit number to keep ordering
         wxString tmp;
-        tmp.Printf(_("tool%2.2d"), count++);
+        tmp.Printf(_T("tool%2.2d"), count++);
 
         elem << _T("/") << tmp  << _T("/");
         cfg->Write(elem + _T("name"), tool->name);
thomasdenk 2006-05-22 18:19

Good catch, thank you. :)

Committed as rev. 2486