Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13297/src/gui

Modified Files:
        wxTemplateDialog.cpp 
Log Message:
fixed bug with incorrect use of Printf() when filling in template macros entered using 
popup menu

Index: wxTemplateDialog.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxTemplateDialog.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- wxTemplateDialog.cpp        16 Mar 2004 00:00:59 -0000      1.37
+++ wxTemplateDialog.cpp        18 Sep 2004 18:02:11 -0000      1.38
@@ -343,5 +343,5 @@
                      _T("incorrect format string") );
 
-         value.Printf(menuitem->format, value.c_str());
+         value = String::Format(menuitem->format, value.c_str());
          break;
    }



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to