From 8c2019f5adb3c10961a529ee6f385e3d20f7c1f1 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 12 Jun 2022 00:01:47 +0200 Subject: [PATCH] Update core_drop_files.c --- examples/core/core_drop_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/core/core_drop_files.c b/examples/core/core_drop_files.c index 0a1a71e9..5b40dcf4 100644 --- a/examples/core/core_drop_files.c +++ b/examples/core/core_drop_files.c @@ -48,7 +48,7 @@ int main(void) ClearBackground(RAYWHITE); - if (count == 0) DrawText("Drop your files to this window!", 100, 40, 20, DARKGRAY); + if (droppedFiles.count == 0) DrawText("Drop your files to this window!", 100, 40, 20, DARKGRAY); else { DrawText("Dropped files:", 100, 40, 20, DARKGRAY);