Skip to content

Commit

Permalink
Remove leading zeroes
Browse files Browse the repository at this point in the history
  • Loading branch information
ltguillaume committed May 30, 2020
1 parent 18d6061 commit 280db47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rstray.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ Return
Goto, Pause
Return
!End::Goto, Disable
!PgUp::Brightness(0.05)
!PgDn::Brightness(-0.05)
!PgUp::Brightness(.05)
!PgDn::Brightness(-.05)
RAlt & Home::
If (brightness <> 1 And mode = "forced")
Brightness(1)
Expand Down Expand Up @@ -678,7 +678,7 @@ Brightness(value) {
brightness = 1
Else {
newbrightness := brightness + value
If (newbrightness > 0.09 And newbrightness < 10.01)
If (newbrightness > .09 And newbrightness < 10.01)
brightness = %newbrightness%
Else
Return
Expand Down

0 comments on commit 280db47

Please sign in to comment.