From 4b65b3a8d1edf69dd3ffbcfe621f7d934618acbb Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Wed, 24 Oct 2001 01:44:05 +0000 Subject: [PATCH] Fix for bug 106298: Without the CD Autorun option, creating a Windows installer from an existing Linux configuration tarball doesn't get removed (r=tao) git-svn-id: svn://10.0.0.236/trunk@106122 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/driver/interpret.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/cck/driver/interpret.cpp b/mozilla/cck/driver/interpret.cpp index 25a6269977e..bdc8fef3793 100644 --- a/mozilla/cck/driver/interpret.cpp +++ b/mozilla/cck/driver/interpret.cpp @@ -807,9 +807,7 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget) CString outputPath = rootPath + "Configs\\" + configName + "\\Output"; char deletePath[MAX_SIZE]; strcpy(deletePath, outputPath); - int direxist = GetFileAttributes(outputPath+"\\Core"); - if (direxist != -1) - CallDLL("IBEngine", "EraseDirectory", deletePath, w); + CallDLL("IBEngine", "EraseDirectory", deletePath, w); } } else if (strcmp(pcmd, "WriteCache") ==0)