Skip to content

Commit

Permalink
do not check for extra cylinders by default (DR-DOS compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Jan 17, 2024
1 parent f474fce commit 6280fd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion source/fdisk/fdiskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ void Process_Fdiskini_File( void )
flags.allow_abort = FALSE;
}
if ( flags.check_for_extra_cylinder == UNCHANGED ) {
flags.check_for_extra_cylinder = TRUE;
flags.check_for_extra_cylinder = FALSE;
}
if ( flags.del_non_dos_log_drives == UNCHANGED ) {
flags.del_non_dos_log_drives = FALSE;
Expand Down
3 changes: 0 additions & 3 deletions source/fdisk/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,12 @@ static void Initialization( char *environment[] )
int index;

/* Set some flags */
flags.check_for_extra_cylinder = FALSE;
flags.display_name_description_copyright = TRUE;
flags.do_not_pause_help_information = FALSE;
flags.fprmt = FALSE;
flags.monochrome = FALSE;
flags.return_from_iui = FALSE;
flags.partitions_have_changed = FALSE;
flags.total_number_hard_disks = 255;
flags.use_ambr = FALSE;
flags.use_iui = TRUE;
flags.using_default_drive_number = TRUE;

Expand Down

0 comments on commit 6280fd7

Please sign in to comment.