ded

Dramatic EDitor
Index Commits Files Refs README LICENSE
commit 3e22d613b1be36d35a1885151139f302bbf6a9eb
parent 59b4be066f275c910231bcc29d64d1d8ffbcfaec
Author: rexim <reximkut@gmail.com>
Date:   Tue,  6 Jul 2021 23:18:18 +0700

Try to fix MSVC build again

Diffstat:
Msrc/main.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -285,9 +285,9 @@ int main(int argc, char **argv)
 
     // Init Font Texture
     {
-        const char *file_path = "charmap-oldschool_white.png";
+        const char *font_file_path = "charmap-oldschool_white.png";
         int width, height, n;
-        unsigned char *pixels = stbi_load(file_path, &width, &height, &n, STBI_rgb_alpha);
+        unsigned char *pixels = stbi_load(font_file_path, &width, &height, &n, STBI_rgb_alpha);
         if (pixels == NULL) {
             fprintf(stderr, "ERROR: could not load file %s: %s\n",
                     file_path, stbi_failure_reason());