Parcourir la source

Update controls_test_suite.c

Ray il y a 2 ans
Parent
commit
2955c676ce
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      examples/controls_test_suite/controls_test_suite.c

+ 2 - 4
examples/controls_test_suite/controls_test_suite.c

@@ -123,9 +123,8 @@ int main()
     bool showMessageBox = false;
 
     char textInput[256] = { 0 };
-    bool showTextInputBox = false;
-
     char textInputFileName[256] = { 0 };
+    bool showTextInputBox = false;
 
     float alpha = 1.0f;
 
@@ -199,8 +198,7 @@ int main()
             // raygui: controls drawing
             //----------------------------------------------------------------------------------
             // Check all possible events that require GuiLock
-            if (dropDown000EditMode ||
-                dropDown001EditMode) GuiLock();
+            if (dropDown000EditMode || dropDown001EditMode) GuiLock();
 
             // First GUI column
             //GuiSetStyle(CHECKBOX, TEXT_ALIGNMENT, TEXT_ALIGN_LEFT);