summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-03 10:52:24 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-03 10:52:24 +0100
commit7e17e6bb7e7d7547bc01fa92090f59699e937a72 (patch)
tree3c90301eda337eee183d4da491f27348b963a575 /src/windows
parenta3e583b4c706cd65f049987c3dcb1d38cb7bd3dc (diff)
mo writing
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/platform.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows/platform.c b/src/windows/platform.c
index 12c9065..24fd6f6 100644
--- a/src/windows/platform.c
+++ b/src/windows/platform.c
@@ -854,7 +854,8 @@ bool platform_write_file_content(char *path, const char *mode, char *buffer, s32
}
else
{
- fprintf(file, buffer);
+ fwrite(buffer, 1, len, file);
+ //fprintf(file, buffer);
}
//done: