Author: ekohl
Date: Fri Oct 3 11:05:56 2014
New Revision: 64487
URL:
http://svn.reactos.org/svn/reactos?rev=64487&view=rev
Log:
[USETUP]
Remove obsolete partition creation checks and their corresponding error messages.
Modified:
trunk/reactos/base/setup/usetup/errorcode.h
trunk/reactos/base/setup/usetup/lang/bg-BG.h
trunk/reactos/base/setup/usetup/lang/cs-CZ.h
trunk/reactos/base/setup/usetup/lang/de-DE.h
trunk/reactos/base/setup/usetup/lang/el-GR.h
trunk/reactos/base/setup/usetup/lang/en-US.h
trunk/reactos/base/setup/usetup/lang/es-ES.h
trunk/reactos/base/setup/usetup/lang/et-EE.h
trunk/reactos/base/setup/usetup/lang/fr-FR.h
trunk/reactos/base/setup/usetup/lang/he-IL.h
trunk/reactos/base/setup/usetup/lang/it-IT.h
trunk/reactos/base/setup/usetup/lang/ja-JP.h
trunk/reactos/base/setup/usetup/lang/lt-LT.h
trunk/reactos/base/setup/usetup/lang/nl-NL.h
trunk/reactos/base/setup/usetup/lang/pl-PL.h
trunk/reactos/base/setup/usetup/lang/pt-BR.h
trunk/reactos/base/setup/usetup/lang/ro-RO.h
trunk/reactos/base/setup/usetup/lang/ru-RU.h
trunk/reactos/base/setup/usetup/lang/sk-SK.h
trunk/reactos/base/setup/usetup/lang/sq-AL.h
trunk/reactos/base/setup/usetup/lang/sv-SE.h
trunk/reactos/base/setup/usetup/lang/tr-TR.h
trunk/reactos/base/setup/usetup/lang/uk-UA.h
trunk/reactos/base/setup/usetup/partlist.c
Modified: trunk/reactos/base/setup/usetup/errorcode.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/errorcod…
==============================================================================
--- trunk/reactos/base/setup/usetup/errorcode.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/errorcode.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -67,12 +67,8 @@
ERROR_ADDING_KBLAYOUTS,
ERROR_UPDATE_GEOID,
ERROR_INSUFFICIENT_DISKSPACE,
-
ERROR_PARTITION_TABLE_FULL,
ERROR_ONLY_ONE_EXTENDED,
- ERROR_NOT_BEHIND_EXTENDED,
- ERROR_EXTENDED_NOT_LAST,
-
ERROR_LAST_ERROR_CODE
}ERROR_NUMBER;
Modified: trunk/reactos/base/setup/usetup/lang/bg-BG.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/bg-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/bg-BG.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/bg-BG.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1521,19 +1521,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/cs-CZ.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/cs-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/cs-CZ.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/cs-CZ.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1516,19 +1516,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Nen¡ mo§n vytvoýit v¡ce ne§ jeden rozç¡ýenì odd¡l na disk.\n"
- "\n"
- " * Pokraujte stisknut¡m libovoln kl vesy."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Nen¡ mo§n vytvoýit odd¡l za rozç¡ýenìm odd¡lem.\n"
- "\n"
- " * Pokraujte stisknut¡m libovoln kl vesy."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "Rozç¡ýenì odd¡l mus¡ bìt v§dy posledn¡ odd¡l\n"
- "v tabulce odd¡l
.\n"
"\n"
" * Pokraujte stisknut¡m libovoln kl vesy."
},
Modified: trunk/reactos/base/setup/usetup/lang/de-DE.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/de-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/de-DE.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/de-DE.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1513,19 +1513,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Sie knnen nur eine erweiterte Partition auf jeder Festplatte
anlegen.\n"
- "\n"
- " * Eine beliebige Taste zum Fortsetzen drcken."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Sie knnen hinter einer erweiterten Partition keine weitere Partition
anlegen.\n"
- "\n"
- " * Eine beliebige Taste zum Fortsetzen drcken."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "Eine erweiterte Partition muss immer die letzte Partition in \n"
- "einer Partitionstabelle sein.\n"
"\n"
" * Eine beliebige Taste zum Fortsetzen drcken."
},
Modified: trunk/reactos/base/setup/usetup/lang/el-GR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/el-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/el-GR.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/el-GR.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1533,19 +1533,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/en-US.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/en-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/en-US.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/en-US.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1508,19 +1508,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/es-ES.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/es-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/es-ES.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/es-ES.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1516,19 +1516,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/et-EE.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/et-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/et-EE.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/et-EE.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1506,19 +1506,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/fr-FR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/fr-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/fr-FR.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/fr-FR.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1521,19 +1521,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Impossible de crer plus d'une partition tendue par disque.\n"
- "\n"
- " * Appuyer sur une touche pour continuer."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Impossible de crer une partition prcdant une partition tendue.\n"
- "\n"
- " * Appuyer sur une touche pour continuer."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "Une partition tendue doit toujours tre place en dernier\n"
- "dans la table de partition.\n"
"\n"
" * Appuyer sur une touche pour continuer."
},
Modified: trunk/reactos/base/setup/usetup/lang/he-IL.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/he-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/he-IL.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/he-IL.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1509,19 +1509,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/it-IT.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/it-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/it-IT.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/it-IT.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1510,19 +1510,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/ja-JP.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ja-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ja-JP.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ja-JP.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1510,19 +1510,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/lt-LT.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/lt-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/lt-LT.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/lt-LT.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1518,19 +1518,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/nl-NL.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/nl-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/nl-NL.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/nl-NL.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1554,19 +1554,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/pl-PL.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/pl-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/pl-PL.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/pl-PL.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1518,19 +1518,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Nie mo¾esz utworzy wi©cej ni¾ jednej partycji rozszerzonej na
dysku.\n"
- "\n"
- " * Nacinij dowolny klawisz, aby kontynuowa."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Nie mo¾esz utworzy partycji za partycj¥ rozszerzon¥.\n"
- "\n"
- " * Nacinij dowolny klawisz, aby kontynuowa."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "Partycja rozszerzona musi by zawsze ostatni¥\n"
- "partycj¥ w tabeli partycji.\n"
"\n"
" * Nacinij dowolny klawisz, aby kontynuowa."
},
Modified: trunk/reactos/base/setup/usetup/lang/pt-BR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/pt-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/pt-BR.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/pt-BR.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1546,19 +1546,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/ro-RO.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ro-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ro-RO.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ro-RO.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1529,7 +1529,7 @@
{
//ERROR_CABINET_SECTION,
"Nu se poate gÇsi secîiunea de directoare\n"
- "n fiierul cabinet.",
+ "n fiierul cabinet.",
"ENTER = Repornire calculator"
},
{
@@ -1540,7 +1540,7 @@
{
//ERROR_FIND_SETUPDATA,
"Nu se poate gÇsi secîiunea pentru date de\n"
- "instalare din fiierul TXTSETUP.SIF.",
+ "instalare din fiierul TXTSETUP.SIF.",
"ENTER = Repornire calculator"
},
{
@@ -1561,7 +1561,7 @@
{
//ERROR_ADDING_KBLAYOUTS,
"A euat includerea n registre a configuraîiei\n"
- "de tastaturÇ.",
+ "de tastaturÇ.",
"ENTER = Repornire calculator"
},
{
@@ -1572,7 +1572,7 @@
{
//ERROR_INSUFFICIENT_DISKSPACE,
"Pe partiîia selectatÇ nu existÇ suficient\n"
- "spaîiu liber."
+ "spaîiu liber."
" * Tastaîi pentru a continua.",
NULL
},
@@ -1586,19 +1586,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Nu se poate crea mai mult de o partiîie extinsÇ pe un disc.\n"
- "\n"
- " * Tastaîi pentru a continua."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Nu se poate crea o partiîie dupÇ o partiîie extinsÇ.\n"
- "\n"
- " * Tastaîi pentru a continua."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "O partiîie extinsÇ trebuie sÇ fie ntotdeauna\n"
- "ultima partiîie din tabela de partiîii.\n"
"\n"
" * Tastaîi pentru a continua."
},
Modified: trunk/reactos/base/setup/usetup/lang/ru-RU.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ru-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ru-RU.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/ru-RU.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1510,19 +1510,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/sk-SK.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sk-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sk-SK.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sk-SK.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1520,19 +1520,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/sq-AL.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sq-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sq-AL.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sq-AL.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1513,19 +1513,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/sv-SE.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sv-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sv-SE.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/sv-SE.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1516,19 +1516,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/lang/tr-TR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/tr-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1496,19 +1496,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"Bir diskte birden ok geniletilmi blm oluturamazsnz.\n"
- "\n"
- " * Srdrmek iin bir d§meye basnz."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "Bir geniletilmi blm arkasnda bir blm oluturamazsnz.\n"
- "\n"
- " * Srdrmek iin bir d§meye basnz."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "Bir geniletilmi blm, her zaman bir blm\n"
- "tablosunda son blm olmaldr.\n"
"\n"
" * Srdrmek iin bir d§meye basnz."
},
Modified: trunk/reactos/base/setup/usetup/lang/uk-UA.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/uk-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/uk-UA.h [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/lang/uk-UA.h [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -1516,19 +1516,6 @@
{
//ERROR_ONLY_ONE_EXTENDED,
"You can not create more than one extended partition per disk.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_NOT_BEHIND_EXTENDED,
- "You can not create a partition behind an extended partition.\n"
- "\n"
- " * Press any key to continue."
- },
- {
- //ERROR_EXTENDED_NOT_LAST,
- "An extended partition must always be the last\n"
- "partition in a partition table.\n"
"\n"
" * Press any key to continue."
},
Modified: trunk/reactos/base/setup/usetup/partlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist…
==============================================================================
--- trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] Fri Oct 3 11:05:56 2014
@@ -3004,41 +3004,6 @@
static
-BOOLEAN
-IsLastPrimaryPartiton(
- IN PPARTENTRY PartEntry)
-{
- return (PartEntry->ListEntry.Flink ==
&PartEntry->DiskEntry->PrimaryPartListHead);
-}
-
-
-static
-BOOLEAN
-IsPreviousPartitionExtended(
- IN PPARTENTRY PartEntry,
- IN PDISKENTRY DiskEntry)
-{
- PPARTENTRY PrevPartEntry;
- PLIST_ENTRY Entry;
-
- Entry = PartEntry->ListEntry.Blink;
-
- while (Entry != &DiskEntry->PrimaryPartListHead)
- {
- PrevPartEntry = CONTAINING_RECORD(Entry, PARTENTRY, ListEntry);
-
- if (IsContainerPartition(PrevPartEntry->PartitionType))
- return TRUE;
-
- Entry = Entry->Blink;
- }
-
- return FALSE;
-
-}
-
-
-static
ULONG
GetPrimaryPartitionCount(
IN PDISKENTRY DiskEntry)
@@ -3079,10 +3044,6 @@
if (GetPrimaryPartitionCount(DiskEntry) > 4)
return ERROR_PARTITION_TABLE_FULL;
- /* Fail if this partiton is located behind an extended partition */
- if (IsPreviousPartitionExtended(PartEntry, DiskEntry))
- return ERROR_NOT_BEHIND_EXTENDED;
-
return ERROR_SUCCESS;
}
@@ -3109,10 +3070,6 @@
if (DiskEntry->ExtendedPartition != NULL)
return ERROR_ONLY_ONE_EXTENDED;
- /* Fail if the partition is not the last list entry */
- if (!IsLastPrimaryPartiton(PartEntry))
- return ERROR_EXTENDED_NOT_LAST;
-
return ERROR_SUCCESS;
}