Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #154
  • Loading branch information
rcmaehl committed Jun 28, 2021
1 parent 615480a commit a0b95ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ Func Main()
$aMem = DllCall("Kernel32.dll", "int", "GetPhysicallyInstalledSystemMemory", "int*", "")
If @error Then
$aMem = MemGetStats()
$aMem = $aMem[1]
$aMem = Round($aMem[1]/1048576, 1)
$aMem = Ceiling($aMem)
Else
$aMem = Round($aMem[1]/1048576, 1)
Expand Down

1 comment on commit a0b95ad

@micwoj92
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wouldnt it break if memory was reported correctly?

Please sign in to comment.