diff --git a/src/dosbox.cpp b/src/dosbox.cpp index 6fd5e2cb..72d2e6a6 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -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); diff --git a/src/misc/setup.cpp b/src/misc/setup.cpp index 8432c016..53a0d0f7 100644 --- a/src/misc/setup.cpp +++ b/src/misc/setup.cpp @@ -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));