mirror of https://github.com/BOINC/boinc.git
- uppercase: fix crash in standalone mode
- wrapper: fix append mode in win_fopen() svn path=/trunk/boinc_samples/; revision=13585
This commit is contained in:
parent
f1e8b94d09
commit
fea864af4d
|
@ -452,3 +452,12 @@ Charlie 4 Sep 2007
|
|||
mac_build/
|
||||
UpperCase2.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
David 12 Sept 2007
|
||||
- uppercase: fix crash in standalone mode
|
||||
- wrapper: fix append mode in win_fopen()
|
||||
|
||||
uppercase/
|
||||
uc_graphics.C
|
||||
wrapper/
|
||||
wrapper.C
|
||||
|
|
|
@ -45,6 +45,7 @@ static void parse_project_prefs(char* buf) {
|
|||
char cs[256];
|
||||
COLOR c;
|
||||
double hue;
|
||||
if (!buf) return;
|
||||
if (parse_str(buf, "<color_scheme>", cs, 256)) {
|
||||
if (!strcmp(cs, "Tahiti Sunset")) {
|
||||
hue = .9;
|
||||
|
|
|
@ -181,6 +181,7 @@ HANDLE win_fopen(const char* path, const char* mode) {
|
|||
OPEN_ALWAYS,
|
||||
0, 0
|
||||
);
|
||||
SetFilePointer(hAppend, 0, NULL, FILE_END);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue