Add missing "b" flag to read the resource files under Windows correctly.

This commit is contained in:
Konstantin Isakov 2009-02-02 00:52:54 +00:00
parent 360a1001c0
commit c8406798af

View file

@ -602,7 +602,7 @@ void DslDictionary::getResource( string const & name,
try
{
File::Class f( n, "r" );
File::Class f( n, "rb" );
f.seekEnd();