- MGR: Fix the application name for both views.

(ANSI/Unicode compatible)(VS/GCC compatible)
    
    clientgui/
        ViewWork.cpp
        ViewWorkGrid.cpp

svn path=/trunk/boinc/; revision=15584
This commit is contained in:
Rom Walton 2008-07-09 16:42:15 +00:00
parent c8a175ae3c
commit a065555ca5
3 changed files with 11 additions and 2 deletions

View File

@ -5616,3 +5616,12 @@ Charlie 9 July 2008
client/
app_control.C
cs_benchmark.C
Rom 8 July 2008
- MGR: Fix the application name for both views.
(ANSI/Unicode compatible)(VS/GCC compatible)
clientgui/
ViewWork.cpp
ViewWorkGrid.cpp

View File

@ -761,7 +761,7 @@ void CViewWork::GetDocApplicationName(wxInt32 item, wxString& strBuffer) const {
if (state_result->wup->avp->plan_class.size()) {
strClassBuffer.Printf(
wxT(" (%s)"),
state_result->wup->avp->plan_class.c_str()
wxString(state_result->wup->avp->plan_class.c_str(), wxConvUTF8).c_str()
);
}

View File

@ -625,7 +625,7 @@ wxInt32 CViewWorkGrid::FormatApplicationName(wxInt32 item, wxString& strBuffer)
if (state_result->wup->avp->plan_class.size()) {
strClassBuffer.Printf(
wxT(" (%s)"),
state_result->wup->avp->plan_class.c_str()
wxString(state_result->wup->avp->plan_class.c_str(), wxConvUTF8).c_str()
);
}