mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
1 parent
d0451190ca
commit
816475b285
6 files changed
+6
-6
No files matched your search
@@ -94,7 +94,7 @@ load_image(const char* filename) {
|
||||
FILE* file = stdin;
|
||||
const char* adj_filename = "<stdin>";
|
||||
if (filename) {
|
||||
FILE* f = fopen(filename, "r");
|
||||
FILE* f = fopen(filename, "rb");
|
||||
if (f == NULL) {
|
||||
printf("%s: could not open file\n", filename);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user