Add a newbie warning for slashes in the search Path= of wine.conf.

This commit is contained in:
Andreas Mohr 2000-01-26 02:04:09 +00:00 committed by Alexandre Julliard
parent b44a83cf67
commit 0b16006b73
1 changed files with 6 additions and 0 deletions

View File

@ -116,6 +116,12 @@ int DIR_Init(void)
PROFILE_GetWineIniString("wine", "path", "c:\\windows;c:\\windows\\system",
path, sizeof(path) );
if (strchr(path, '/'))
{
MESSAGE("No '/' allowed in [wine] 'Path=' statement of wine.conf !\n");
PROFILE_UsageWineIni();
ExitProcess(1);
}
/* Set the environment variables */