MGR: Fix build break

svn path=/trunk/boinc/; revision=25997
This commit is contained in:
Charlie Fenton 2012-08-09 00:56:10 +00:00
parent d085bc4ee6
commit 31c4aa49c5
2 changed files with 9 additions and 2 deletions

View File

@ -5379,3 +5379,10 @@ David 8 Aug 2012
lib/
gui_rpc_client_ops.cpp
coproc.cpp,h
Charlie 8 Aug 2012
- MGR: Fix build break.
clientgui/
DlgItemProperties.cpp

View File

@ -269,10 +269,10 @@ void CDlgItemProperties::renderInfos(PROJECT* project_in) {
addProperty(_("Scheduling priority"), wxString::Format(wxT("%0.2f"), project->sched_priority));
show_rsc(_("CPU"), project->rsc_desc_cpu);
if (pDoc->state.have_nvidia) {
show_rsc(proc_type_name(PROC_TYPE_NVIDIA_GPU), project->rsc_desc_nvidia);
show_rsc(wxString(proc_type_name(PROC_TYPE_NVIDIA_GPU), wxConvUTF8), project->rsc_desc_nvidia);
}
if (pDoc->state.have_ati) {
show_rsc(proc_type_name(PROC_TYPE_AMD_GPU), project->rsc_desc_ati);
show_rsc(wxString(proc_type_name(PROC_TYPE_AMD_GPU), wxConvUTF8), project->rsc_desc_ati);
}
addProperty(_("Duration correction factor"), wxString::Format(wxT("%0.4f"), project->duration_correction_factor));
}