diff options
Diffstat (limited to 'src/lib/elua/elua.c')
-rw-r--r-- | src/lib/elua/elua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c index 602e5d1825..47bcd3fb76 100644 --- a/src/lib/elua/elua.c +++ b/src/lib/elua/elua.c @@ -617,7 +617,7 @@ elua_util_script_run(Elua_State *es, int argc, char **argv, int n, int *quit) if (fname) { /* check if there is a file of that name */ - FILE *f = fopen(fname, "r"); + FILE *f = fopen(fname, "rb"); if (f) { fclose(f); |