Subversion Repositories SvarDOS

Rev

Rev 723 | Rev 757 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 723 Rev 727
Line 143... Line 143...
143
  }
143
  }
144
 
144
 
145
  /* read the DOSDIR environment variable */
145
  /* read the DOSDIR environment variable */
146
  dosdir = getenv("DOSDIR");
146
  dosdir = getenv("DOSDIR");
147
  if (dosdir == NULL) {
147
  if (dosdir == NULL) {
148
    puts(svarlang_str(2, 2)); /* "%DOSDIR% not set! You should make it point to the FreeDOS main directory." */
148
    puts(svarlang_str(2, 2)); /* "%DOSDIR% not set! You should make it point to the SvarDOS main directory." */
149
    puts(svarlang_str(2, 3)); /* "Example: SET DOSDIR=C:\FDOS" */
149
    puts(svarlang_str(2, 3)); /* "Example: SET DOSDIR=C:\SVARDOS" */
150
    goto GAMEOVER;
150
    goto GAMEOVER;
151
  }
151
  }
152
 
152
 
153
  /* load configuration */
153
  /* load configuration */
154
  if (loadconf(dosdir, &dirlist) != 0) goto GAMEOVER;
154
  if (loadconf(dosdir, &dirlist) != 0) goto GAMEOVER;