print_res(§b);
if (!confirm ("Are you sure these are the two sectors you wish to swap? "))
return RET_FAIL;
+ if (!check_sect_ok(§a) || !check_sect_ok(§b))
+ return RET_FAIL;
tmp = secta;
/* change the location of secta to that of sectb */
secta.sct_x = sectb.sct_x;