Changeset 2561

Show
Ignore:
Timestamp:
08/08/08 07:16:29 (4 months ago)
Author:
kris
Message:

Fixed a minor display bug in the custom partitioning screen, now shows the right file system type for partition a

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/PCInstall/pcinstall.cpp

    r2555 r2561  
    16641664           case 0: 
    16651665               PartLetter = "a"; 
    1666                Type = "UFS2"; 
     1666               tmp = comboFileSystem->currentText(); 
     1667               if ( tmp.indexOf("ZFS") == -1) 
     1668               { 
     1669                 Type = tmp;  
     1670               } else { 
     1671                 Type = "UFS2"; 
     1672               } 
    16671673               break; 
    16681674           case 1: 
     
    16711677               break; 
    16721678           case 2: 
     1679               PartLetter = "d"; 
     1680               Type = comboFileSystem->currentText(); 
     1681               break; 
     1682           case 3: 
    16731683               PartLetter = "e"; 
    16741684               Type = comboFileSystem->currentText(); 
    16751685               break; 
    1676            case 3: 
     1686           case 4: 
    16771687               PartLetter = "f"; 
    16781688               Type = comboFileSystem->currentText(); 
    16791689               break; 
    1680            case 4: 
     1690           case 5: 
    16811691               PartLetter = "g"; 
    16821692               Type = comboFileSystem->currentText(); 
    16831693               break; 
    1684            case 5: 
     1694           case 6: 
    16851695               PartLetter = "h"; 
    16861696               Type = comboFileSystem->currentText();