Skip to content

Commit 18bd576

Browse files
committed
only complain if ext is unusable if there is any defined
1 parent 1472a63 commit 18bd576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/fdisk/display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void Display_CL_Partition_Table( void )
225225
/* NLS:Largest continious free space for primary partition */
226226
con_printf( svarlang_str( 9, 5 ), Max_Pri_Free_Space_In_MB() );
227227

228-
if ( !pDrive->ext_usable ) {
228+
if ( pDrive->ptr_ext_part && !pDrive->ext_usable ) {
229229
/* NLS:No usable extended partition found. */
230230
con_print( svarlang_str( 8, 7 ) );
231231
return;

0 commit comments

Comments
 (0)