Author: jgardou
Date: Mon Mar 5 18:22:36 2012
New Revision: 56041
URL:
http://svn.reactos.org/svn/reactos?rev=56041&view=rev
Log:
[CABMAN]
- Try to fix some drama
Modified:
trunk/reactos/tools/cabman/main.cxx
Modified: trunk/reactos/tools/cabman/main.cxx
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cabman/main.cxx?rev=…
==============================================================================
--- trunk/reactos/tools/cabman/main.cxx [iso-8859-1] (original)
+++ trunk/reactos/tools/cabman/main.cxx [iso-8859-1] Mon Mar 5 18:22:36 2012
@@ -553,16 +553,22 @@
switch (Mode)
{
case CM_MODE_CREATE:
- return CreateCabinet();
+ case CM_MODE_CREATE_SIMPLE:
+ {
+ bool ret;
+ if(Mode == CM_MODE_CREATE)
+ ret = CreateCabinet();
+ else
+ ret = CreateSimpleCabinet();
+ CloseCabinet();
+ return ret;
+ }
case CM_MODE_DISPLAY:
return DisplayCabinet();
case CM_MODE_EXTRACT:
return ExtractFromCabinet();
-
- case CM_MODE_CREATE_SIMPLE:
- return CreateSimpleCabinet();
default:
break;