fixed bug #629841
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@480
This commit is contained in:
parent
8dc5a523de
commit
c341f40597
2 changed files with 3 additions and 3 deletions
|
|
@ -156,7 +156,7 @@ void Section_line::PrintData(FILE* outfile) {
|
|||
|
||||
void Config::PrintConfig(const char* configfilename){
|
||||
char temp[50];
|
||||
FILE* outfile=fopen(configfilename,"w+b");
|
||||
FILE* outfile=fopen(configfilename,"w+t");
|
||||
if(outfile==NULL) return;
|
||||
for (it tel=sectionlist.begin(); tel!=sectionlist.end(); tel++){
|
||||
/* Print out the Section header */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue