diff --git a/examples/controls_test_suite/controls_test_suite.c b/examples/controls_test_suite/controls_test_suite.c index 519e176..f9bfb4f 100644 --- a/examples/controls_test_suite/controls_test_suite.c +++ b/examples/controls_test_suite/controls_test_suite.c @@ -128,12 +128,11 @@ int main() if (IsFileDropped()) { - int dropFileCount = 0; - char **droppedFiles = LoadDroppedFiles(&dropFileCount); + FilePathList droppedFiles = LoadDroppedFiles(); - if ((dropFileCount > 0) && IsFileExtension(droppedFiles[0], ".rgs")) GuiLoadStyle(droppedFiles[0]); + if ((droppedFiles.count > 0) && IsFileExtension(droppedFiles.paths[0], ".rgs")) GuiLoadStyle(droppedFiles.paths[0]); - UnloadDroppedFiles(); // Clear internal buffers + UnloadDroppedFiles(droppedFiles); // Clear internal buffers } //----------------------------------------------------------------------------------