mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
Fix Windows C99 mode
This commit is contained in:
parent
d440db9d33
commit
ed9aadf42b
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue