mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Fix Windows C99 mode
This commit is contained in:
parent
d440db9d33
commit
ed9aadf42b
@ -165,8 +165,8 @@ int CheckKeyFlags(char* f, MMKeyFlags* flags)
|
||||
|
||||
int GetFlagsFromValue(char* value[], MMKeyFlags* flags,int num){
|
||||
if (!flags) {return -1;}
|
||||
|
||||
for (int i = 0; i <num; i++){
|
||||
int i;
|
||||
for ( i= 0; i <num; i++){
|
||||
MMKeyFlags f = MOD_NONE;
|
||||
const int rv = CheckKeyFlags(value[i], &f);
|
||||
if (rv) return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user