diff options
| author | Ray <[email protected]> | 2022-06-12 00:04:25 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-06-12 00:04:25 +0200 |
| commit | ad332f49ed9fc8ed71cfae34bd3703cecaa79d3d (patch) | |
| tree | 385eb2769520452279308af9b2f6074b915f2b50 /examples/core/core_drop_files.c | |
| parent | 8c2019f5adb3c10961a529ee6f385e3d20f7c1f1 (diff) | |
| download | raylib-ad332f49ed9fc8ed71cfae34bd3703cecaa79d3d.tar.gz raylib-ad332f49ed9fc8ed71cfae34bd3703cecaa79d3d.zip | |
Update core_drop_files.c
Diffstat (limited to 'examples/core/core_drop_files.c')
| -rw-r--r-- | examples/core/core_drop_files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/core/core_drop_files.c b/examples/core/core_drop_files.c index 5b40dcf4..dda31a43 100644 --- a/examples/core/core_drop_files.c +++ b/examples/core/core_drop_files.c @@ -53,7 +53,7 @@ int main(void) { DrawText("Dropped files:", 100, 40, 20, DARKGRAY); - for (int i = 0; i < count; i++) + for (int i = 0; i < droppedFiles.count; i++) { if (i%2 == 0) DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.5f)); else DrawRectangle(0, 85 + 40*i, screenWidth, 40, Fade(LIGHTGRAY, 0.3f)); @@ -61,7 +61,7 @@ int main(void) DrawText(droppedFiles.paths[i], 120, 100 + 40*i, 10, GRAY); } - DrawText("Drop new files...", 100, 110 + 40*count, 20, DARKGRAY); + DrawText("Drop new files...", 100, 110 + 40*droppedFiles.count, 20, DARKGRAY); } EndDrawing(); |
