compile fixes

svn path=/trunk/boinc/; revision=20891
This commit is contained in:
David Anderson 2010-03-13 05:42:25 +00:00
parent b723669be0
commit 6e7c91f181
1 changed files with 1 additions and 3 deletions

View File

@ -182,9 +182,7 @@ void show_result(RESULT* r, float x, float& y, float alpha) {
sprintf(buf, "Elapsed: %.0f sec Remaining: %.0f sec", r->elapsed_time, r->estimated_cpu_time_remaining); sprintf(buf, "Elapsed: %.0f sec Remaining: %.0f sec", r->elapsed_time, r->estimated_cpu_time_remaining);
txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf); txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf);
y -= .03; y -= .03;
sprintf(buf, "App: %s Task: %s", (char*)r->app->user_friendly_name.c_str(), sprintf(buf, "App: %s Task: %s", r->app->user_friendly_name, r->wup->name);
r->wup->name.c_str()
);
txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf); txf_render_string(.1, x, y, 0, TASK_INFO_SIZE, white, 0, buf);
y -= .03; y -= .03;
} }