Skip to content

Commit

Permalink
Merge pull request mmikeww#2 from dmtr99/patch-2
Browse files Browse the repository at this point in the history
Correction integer divider
  • Loading branch information
buliasz authored Jun 14, 2023
2 parents 6c77145 + 3427501 commit 5ed3017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gdip_All.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ Gdip_TextToGraphics(pGraphics, Text, Options, Font:="Arial", Width:="", Height:=
Align := 0, Alignments := "Near|Left|Centre|Center|Far|Right"
for eachAlignment, valAlignment in StrSplit( Alignments, "|" ) {
if RegExMatch(Options, "\b" valAlignment) {
Align |= A_Index//2.1 ; 0|0|1|1|2|2
Align |= A_Index*10//21 ; 0|0|1|1|2|2
}
}

Expand Down

0 comments on commit 5ed3017

Please sign in to comment.