Update controls_test_suite.c

This commit is contained in:
Ray 2022-06-29 19:18:10 +02:00
parent 38236a5513
commit 7ef0ae713b

View File

@ -128,12 +128,11 @@ int main()
if (IsFileDropped()) if (IsFileDropped())
{ {
int dropFileCount = 0; FilePathList droppedFiles = LoadDroppedFiles();
char **droppedFiles = LoadDroppedFiles(&dropFileCount);
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
} }
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------