Author: jgardou
Date: Mon Mar 5 18:37:33 2012
New Revision: 56042
URL:
http://svn.reactos.org/svn/reactos?rev=56042&view=rev
Log:
[CABINET]
- always test your code before commiting, I'm sure I already told you that.
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:37:33 2012
@@ -553,22 +553,16 @@
switch (Mode)
{
case CM_MODE_CREATE:
- case CM_MODE_CREATE_SIMPLE:
- {
- bool ret;
- if(Mode == CM_MODE_CREATE)
- ret = CreateCabinet();
- else
- ret = CreateSimpleCabinet();
- CloseCabinet();
- return ret;
- }
+ return CreateCabinet();
case CM_MODE_DISPLAY:
return DisplayCabinet();
case CM_MODE_EXTRACT:
return ExtractFromCabinet();
+
+ case CM_MODE_CREATE_SIMPLE:
+ return CreateSimpleCabinet();
default:
break;