[PC-BSD Commits] r5622 - pcbsd/trunk/SysInstaller

svn at pcbsd.org svn at pcbsd.org
Tue Dec 15 07:37:25 PST 2009


Author: kris
Date: 2009-12-15 07:37:25 -0800 (Tue, 15 Dec 2009)
New Revision: 5622

Modified:
   pcbsd/trunk/SysInstaller/sys-diskwidget.cpp
Log:

Fixed bug when setting partition=free in sysinstaller



Modified: pcbsd/trunk/SysInstaller/sys-diskwidget.cpp
===================================================================
--- pcbsd/trunk/SysInstaller/sys-diskwidget.cpp	2009-12-15 15:25:22 UTC (rev 5621)
+++ pcbsd/trunk/SysInstaller/sys-diskwidget.cpp	2009-12-15 15:37:25 UTC (rev 5622)
@@ -413,8 +413,7 @@
     // Check if this is an install to "Unused Space"
     for (int z=0; z < sysDisks.count(); ++z)
       if ( sysDisks.at(z).at(0) == "SLICE" \
-        && sysDisks.at(z).at(1) == workingDisk \
-        && sysDisks.at(z).at(2) == workingSlice \
+        && sysDisks.at(z).at(2) == workingDisk + workingSlice \
         && sysDisks.at(z).at(4) == "Unused Space" )
           tmpSlice = "free";
 



More information about the Commits mailing list