From c8406798afaf7c9eae8dae575fd4590d01f09d51 Mon Sep 17 00:00:00 2001 From: Konstantin Isakov Date: Mon, 2 Feb 2009 00:52:54 +0000 Subject: [PATCH] Add missing "b" flag to read the resource files under Windows correctly. --- src/dsl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsl.cc b/src/dsl.cc index 6131eb98..bb2613e9 100644 --- a/src/dsl.cc +++ b/src/dsl.cc @@ -602,7 +602,7 @@ void DslDictionary::getResource( string const & name, try { - File::Class f( n, "r" ); + File::Class f( n, "rb" ); f.seekEnd();