update code style

This commit is contained in:
vcaesar 2018-07-07 23:01:55 +08:00
parent 6bd6565ce2
commit 482d465472
3 changed files with 31 additions and 30 deletions

View File

@ -153,6 +153,7 @@ int CheckKeyFlags(char* f, MMKeyFlags* flags){
int GetFlagsFromValue(char* value[], MMKeyFlags* flags, int num){ int GetFlagsFromValue(char* value[], MMKeyFlags* flags, int num){
if (!flags) {return -1;} if (!flags) {return -1;}
int i; int i;
for ( i= 0; i <num; i++){ for ( i= 0; i <num; i++){
MMKeyFlags f = MOD_NONE; MMKeyFlags f = MOD_NONE;