Fix double adition of last line of autoexec.bat stuff
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3110
This commit is contained in:
parent
864b737029
commit
0665eeb12d
1 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: setup.cpp,v 1.45 2008-02-18 20:25:21 qbix79 Exp $ */
|
||||
/* $Id: setup.cpp,v 1.46 2008-02-25 06:21:09 qbix79 Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "cross.h"
|
||||
|
@ -587,8 +587,7 @@ bool Config::ParseConfigFile(char const * const configfilename){
|
|||
string gegevens;
|
||||
Section* currentsection = NULL;
|
||||
Section* testsec = NULL;
|
||||
while (in) {
|
||||
getline(in,gegevens);
|
||||
while (getline(in,gegevens)) {
|
||||
|
||||
/* strip leading/trailing whitespace */
|
||||
trim(gegevens);
|
||||
|
|
Loading…
Add table
Reference in a new issue