SendKey() bug & fix

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

anOrcPawn00
a lesser mummy
a lesser mummy
Posts: 41
Joined: Sat May 10, 2003 6:15 am

SendKey() bug & fix

Post by anOrcPawn00 » Thu Feb 05, 2004 10:50 pm

In MQ2MacroCommands.cpp Line 709 replace:

Code: Select all

if ((Arg1[0]==0) || (Arg2[0]==0) || ((!strnicmp(Arg1,"down",strlen(Arg1))) && (!strnicmp(Arg1,"up",strlen(Arg1))))) {
with

Code: Select all

if ((Arg1[0]==0) || (Arg2[0]==0) || (strnicmp(Arg1,"down",strlen(Arg1)) && strnicmp(Arg1,"up",strlen(Arg1)))) {