Skip to content
Snippets Groups Projects
Commit 0b16006b authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

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

parent b44a83cf
Branches
Tags
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment