Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct rcmaehl#231 when Disk 0 / Disk Last = MBR
  • Loading branch information
rcmaehl committed Jun 29, 2021
1 parent 5ac370a commit aa028df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/_WMIC.au3
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Func _GetDiskInfo($iFlag = 0)
$sType = $Obj_Item.Type
If StringLeft($sType, 3) = "GPT" Then $aDisks[1] += 1
Next
If $aDisks[0] > 0 Then $sType = "GPT"
Else
Return 0
EndIf
Expand Down

0 comments on commit aa028df

Please sign in to comment.