mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Add missing "b" flag to read the resource files under Windows correctly.
This commit is contained in:
parent
360a1001c0
commit
c8406798af
|
@ -602,7 +602,7 @@ void DslDictionary::getResource( string const & name,
|
|||
|
||||
try
|
||||
{
|
||||
File::Class f( n, "r" );
|
||||
File::Class f( n, "rb" );
|
||||
|
||||
f.seekEnd();
|
||||
|
||||
|
|
Loading…
Reference in a new issue