Fix a mistake where cmouseimage didn't return a proper value

This commit is contained in:
Bradlee Speice 2012-07-24 16:11:11 -04:00
parent d626b383a3
commit 1dbe466302

View File

@ -915,11 +915,9 @@ cvaPoint xte_commandString ( Display *displayLocation, char *commandString, int
fileName = malloc(COMMAND_STR_LEN * sizeof(char));
sscanf( s_commandString, "cmouseimage %s", fileName );
xte_hoverMouseImage_location_center( displayLocation, fileName, searchMethod, tolerance );
resultPoint = xte_hoverMouseImage_location_center( displayLocation, fileName, searchMethod, tolerance );
free(fileName);
resultPoint.x = resultPoint.y = -2;
}
else if (IS_CMD( s_commandString, "imouseclick" ))
{