summaryrefslogtreecommitdiff
path: root/plugingui/rcgen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/rcgen.cc')
-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;