From f6374a021b7bad4742613b19c941be94deaadc84 Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Tue, 18 Jan 2000 23:41:08 +0000 Subject: [PATCH] fix for bug#23129 - changed the structure of the output directory depending on the choice of CD autorun git-svn-id: svn://10.0.0.236/trunk@58157 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/ib/ib.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/cck/ib/ib.cpp b/mozilla/cck/ib/ib.cpp index 179df215374..231976ed57f 100644 --- a/mozilla/cck/ib/ib.cpp +++ b/mozilla/cck/ib/ib.cpp @@ -575,7 +575,7 @@ int StartIB(CString parms, WIDGET *curWidget) _mkdir((char *)(LPCTSTR) cdPath); _mkdir((char *)(LPCTSTR) tempPath); _mkdir((char *)(LPCTSTR) workspacePath); - _mkdir((char *)(LPCTSTR) cdshellPath); +// _mkdir((char *)(LPCTSTR) cdshellPath); GetCurrentDirectory(sizeof(olddir), olddir); if(SetCurrentDirectory((char *)(LPCTSTR) tempPath) == FALSE) @@ -648,12 +648,12 @@ int StartIB(CString parms, WIDGET *curWidget) else { FILE *infout; - CString infFile = cdPath + "\\autorun.inf"; + CString infFile = outputPath + "\\autorun.inf"; infout = fopen(infFile, "w"); if (!infout) exit( 3 ); - fprintf(infout,"Seamonkey32e.exe"); + fprintf(infout,"[autorun]\nopen = .\\Core\\Seamonkey32e.exe"); } CString component; CString configiniPath = cdPath +"\\config.ini";