mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11801
This commit is contained in:
parent
d380952912
commit
2d5a13029d
|
@ -13,7 +13,7 @@ Reinhard 2 Jan 2007
|
||||||
Makefile.am
|
Makefile.am
|
||||||
|
|
||||||
Charlie 2 Jan 2007
|
Charlie 2 Jan 2007
|
||||||
- MGR: Fix 2 compiler warnings caused by to actual coding errors.
|
- MGR: Fix 2 compiler warnings caused by actual coding errors.
|
||||||
- Mac: Add new files BOINCGridCtrl.cpp,.h, ViewTransfersGrid.cpp,.h,
|
- Mac: Add new files BOINCGridCtrl.cpp,.h, ViewTransfersGrid.cpp,.h,
|
||||||
ViewWorkGrid.cpp,.h to XCode project.
|
ViewWorkGrid.cpp,.h to XCode project.
|
||||||
|
|
||||||
|
@ -246,3 +246,12 @@ Rom 7 Jan 2007
|
||||||
lib/
|
lib/
|
||||||
diagnostics.C
|
diagnostics.C
|
||||||
diagnostics_win.C
|
diagnostics_win.C
|
||||||
|
|
||||||
|
Charlie 8 Jan 2007
|
||||||
|
- MGR: Fix 2 compiler warnings, 1 caused by an actual coding error.
|
||||||
|
NOTE: to printf a "%", you need to use "%%" in the format; for
|
||||||
|
example: ("%.2f%%").
|
||||||
|
|
||||||
|
clientgui/
|
||||||
|
BOINCGridCtrl.cpp
|
||||||
|
ViewTransfersGrid.cpp
|
||||||
|
|
|
@ -684,7 +684,7 @@ CBOINCGridTable::~CBOINCGridTable() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CBOINCGridTable::SetColumnSortType(int col,int sortType/*=CST_STRING*/) {
|
void CBOINCGridTable::SetColumnSortType(int col,int sortType/*=CST_STRING*/) {
|
||||||
if(col>=0 && col < arrColumnSortTypes.GetCount()) {
|
if(col>=0 && col < (int)arrColumnSortTypes.GetCount()) {
|
||||||
arrColumnSortTypes[col] = sortType;
|
arrColumnSortTypes[col] = sortType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,7 +295,7 @@ wxInt32 CViewTransfersGrid::FormatProgress(wxInt32 item, wxString& strBuffer) co
|
||||||
if ( 0.0 == fFileSize ) {
|
if ( 0.0 == fFileSize ) {
|
||||||
strBuffer = wxT("0%");
|
strBuffer = wxT("0%");
|
||||||
} else {
|
} else {
|
||||||
strBuffer.Printf(wxT("%.2f%"), floor((fBytesSent / fFileSize) * 10000)/100);
|
strBuffer.Printf(wxT("%.2f%%"), floor((fBytesSent / fFileSize) * 10000)/100);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue