diff --git a/Gdip_All.ahk b/Gdip_All.ahk index 9d93589..495667e 100644 --- a/Gdip_All.ahk +++ b/Gdip_All.ahk @@ -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 } }