Skip to content

Commit 90910e1

Browse files
committed
update build
1 parent e0285e7 commit 90910e1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/libcrypt.ahk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LC_Version := "0.0.20.24"
1+
LC_Version := "0.0.21.00"
22

33
LC_ASCII2Bin(s,pretty:=0) {
44
r:=""
@@ -40,7 +40,7 @@ LC_BinStr_EncodeText(Text, Pretty=False, Encoding="UTF-8") {
4040

4141
LC_BinStr_DecodeText(Text, Encoding="UTF-8") {
4242
Len := LC_BinStr_Decode(Bin, Text)
43-
return StrGet(&Bin, Encoding)
43+
return StrGet(&Bin, Len, Encoding)
4444
}
4545

4646
LC_BinStr_Encode(ByRef Out, ByRef In, InLen, Pretty=False) {
@@ -68,6 +68,7 @@ LC_BinStr_Decode(ByRef Out, ByRef In) {
6868
}
6969
}
7070

71+
7172
LC_Base64_EncodeText(Text,Encoding="UTF-8")
7273
{
7374
VarSetCapacity(Bin, StrPut(Text, Encoding))
@@ -78,7 +79,7 @@ LC_Base64_EncodeText(Text,Encoding="UTF-8")
7879
LC_Base64_DecodeText(Text,Encoding="UTF-8")
7980
{
8081
Len := LC_Base64_Decode(Bin, Text)
81-
return StrGet(&Bin, Encoding)
82+
return StrGet(&Bin, Len, Encoding)
8283
}
8384

8485
LC_Base64_Encode(ByRef Out, ByRef In, InLen)

0 commit comments

Comments
 (0)