Update controls_test_suite.c
This commit is contained in:
parent
38236a5513
commit
7ef0ae713b
@ -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
|
||||
}
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user