mirror of https://github.com/BOINC/boinc.git
API: when app version number is shown in the title bar of
a graphics window, print it in the same format at the client GUI, for example 4.29 rather than existing 429. This is for consistency with line 506 of clientgui/ViewWork.cpp. svn path=/trunk/boinc/; revision=9060
This commit is contained in:
parent
b451979ab0
commit
d118641dcb
|
@ -241,8 +241,8 @@ bool throttled_app_render(int x, int y, double t) {
|
||||||
void get_window_title(APP_INIT_DATA& aid, char* buf, int len) {
|
void get_window_title(APP_INIT_DATA& aid, char* buf, int len) {
|
||||||
if (aid.app_version) {
|
if (aid.app_version) {
|
||||||
snprintf(buf, len,
|
snprintf(buf, len,
|
||||||
"%s version %d [workunit: %s]",
|
"%s version %.2f [workunit: %s]",
|
||||||
aid.app_name, aid.app_version, aid.wu_name
|
aid.app_name, aid.app_version/100.0, aid.wu_name
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
snprintf(buf, len,
|
snprintf(buf, len,
|
||||||
|
|
|
@ -14381,3 +14381,13 @@ David 9 Dec 2005
|
||||||
prefs.inc
|
prefs.inc
|
||||||
user/
|
user/
|
||||||
host_edit_action.php
|
host_edit_action.php
|
||||||
|
|
||||||
|
Bruce 10 Dec 2005
|
||||||
|
- API: when app version number is shown in the title bar of
|
||||||
|
a graphics window, print it in the same format at the
|
||||||
|
client GUI, for example 4.29 rather than existing 429.
|
||||||
|
This is for consistency with line 506 of clientgui/ViewWork.cpp.
|
||||||
|
|
||||||
|
api/
|
||||||
|
graphics_impl.C
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue