From ac648bde74897a8a959057f1cf45e37a75559388 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Thu, 23 Nov 2017 23:44:41 +0800 Subject: [PATCH] update and fmt code --- event/goEvent.h | 6 +++--- key/goKey.h | 4 ++-- mouse/goMouse.h | 8 ++++---- window/window.h | 16 ++++++++-------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/event/goEvent.h b/event/goEvent.h index 6094e10..20733bd 100644 --- a/event/goEvent.h +++ b/event/goEvent.h @@ -57,7 +57,7 @@ void dispatch_proc(iohook_event * const event) { // printf("atoi(str)---%d\n", atoi(cevent)); if (akeycode == atoi(cevent)){ int astop = aStop(); - // printf("%d\n",astop); + // printf("%d\n", astop); cstatus = 0; } break; @@ -82,7 +82,7 @@ void dispatch_proc(iohook_event * const event) { if (strcmp(buf, cevent) == 0){ int astop = aStop(); - // printf("%d\n",astop); + // printf("%d\n", astop); cstatus = 0; } // return (char*) event->data.keyboard.keychar; @@ -221,7 +221,7 @@ int aEvent(char *aevent) { } // return status; - // printf("%d\n",status); + // printf("%d\n", status); return cstatus; } diff --git a/key/goKey.h b/key/goKey.h index 998b5df..32808c6 100644 --- a/key/goKey.h +++ b/key/goKey.h @@ -164,7 +164,7 @@ int CheckKeyFlags(char* f, MMKeyFlags* flags) return 0; } -int GetFlagsFromValue(char* value[], MMKeyFlags* flags,int num){ +int GetFlagsFromValue(char* value[], MMKeyFlags* flags, int num){ if (!flags) {return -1;} int i; for ( i= 0; i