mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-03 15:34:06 +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