1
0
Fork 0

Adjust first comment in .conf file

This commit is contained in:
Patryk Obara 2020-04-17 17:47:46 +02:00 committed by Patryk Obara
parent 64772850b5
commit 2203c5e726
2 changed files with 5 additions and 5 deletions

View file

@ -815,9 +815,8 @@ void DOSBOX_Init(void) {
"You can put your MOUNT lines here.\n"
);
MSG_Add("CONFIGFILE_INTRO",
"# This is the configuration file for DOSBox %s. (Please use the latest version of DOSBox)\n"
"# Lines starting with a # are comment lines and are ignored by DOSBox.\n"
"# They are used to (briefly) document the effect of each option.\n");
"# This is the configuration file for dosbox-staging (%s).\n"
"# Lines starting with a '#' character are comments.\n");
MSG_Add("CONFIG_SUGGESTED_VALUES", "Possible values");
control->SetStartUp(&SHELL_Init);

View file

@ -727,8 +727,9 @@ bool Config::PrintConfig(const std::string &filename) const
if (outfile == NULL) return false;
/* Print start of configfile and add a return to improve readibility. */
fprintf(outfile,MSG_Get("CONFIGFILE_INTRO"),VERSION);
fprintf(outfile,"\n");
fprintf(outfile, MSG_Get("CONFIGFILE_INTRO"), VERSION);
fprintf(outfile, "\n");
for (const_it tel = sectionlist.begin(); tel != sectionlist.end(); ++tel){
/* Print out the Section header */
safe_strncpy(temp,(*tel)->GetName(),sizeof(temp));