diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-01 21:14:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-01 21:14:54 +0100 |
commit | e5cf5cf630f267e7029d3afc65a4874f9f626d2b (patch) | |
tree | 37541c314ea737554fb4f4150d941524cd7f06a8 /plugingui | |
parent | b367c5904c3a5c154be131ecd0e15251b8b3da39 (diff) |
Open file binary mode.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/rcgen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/rcgen.cc b/plugingui/rcgen.cc index 9f93472..5eb3a4c 100644 --- a/plugingui/rcgen.cc +++ b/plugingui/rcgen.cc @@ -40,7 +40,7 @@ int main(int argc, char *argv[]) printf(" { \":%s\", ", argv[i]); std::string data; - FILE *fp = fopen(argv[i], "r"); + FILE *fp = fopen(argv[i], "rb"); if(!fp) { fprintf(stderr, "Could not read file '%s' - quitting\n", argv[i]); return 1; |