-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect "VarSetCapacity" translation #16
Comments
hmmm, I'm using ahk_H v2, I could add an option so the user chooses : AHK_H or AHK_L |
… is_AHK_H ? 'BufferAlloc' : 'Buffer' ; #16
@jNizM , so in this website https://fupeijiang.github.io/ahk_parser.js/
|
Like the 2 Buttons you got. But put them over the Inputboxes.
|
wdym by "over the inputboxes" ?
done, now the hotkey is : ^+f to change AHK version.
I think it looks good for both, white background: grey button on white, black background: white button on black. you change the theme and screenshot ? and send me colors HEX ? or tell me how should be themed ? I'll try if I like it more |
Just a view ideas |
VarSetCapacity(UTF8, StrPut(Str, "UTF-8"), 0) ; old
UTF8:=BufferAlloc(StrPut(Str,"UTF-8"),0) ; new (incorrect)
UTF8 := Buffer(StrPut(Str, "UTF-8"), 0) ; should be this
v2 Error: This variable appears to never be assigned a value (Specifically: local BufferAlloc)
See: https://lexikos.github.io/v2/docs/objects/Buffer.htm#Call
The text was updated successfully, but these errors were encountered: