summaryrefslogtreecommitdiff
path: root/plugingui
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-01 21:14:54 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-01 21:14:54 +0100
commite5cf5cf630f267e7029d3afc65a4874f9f626d2b (patch)
tree37541c314ea737554fb4f4150d941524cd7f06a8 /plugingui
parentb367c5904c3a5c154be131ecd0e15251b8b3da39 (diff)
Open file binary mode.
Diffstat (limited to 'plugingui')
-rw-r--r--plugingui/rcgen.cc2
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;