*/}}
Explorar o código

changes to laEvent

YimingWu hai 10 meses
pai
achega
4512c39959
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      operator.c

+ 1 - 1
operator.c

@@ -33,7 +33,7 @@ int INV_MyModalOperator(laOperator* a, laEvent* e){
 int MOD_MyModalOperator(laOperator* a, laEvent* e){
     printf("%d,%d\n",e->x,e->y);
     logPrint("%d,%d\n",e->x,e->y);
-    if(e->Type==LA_R_MOUSE_DOWN){
+    if(e->type==LA_R_MOUSE_DOWN){
         printf("Modal opeator finished!\n");
         logPrint("Modal opeator finished!\n");
         return LA_FINISHED;