Line 0
Link Here
|
|
|
1 |
--- src/saga_core/saga_gui/wksp_tool.cpp.orig 2017-12-07 00:37:00.689067000 +0300 |
2 |
+++ src/saga_core/saga_gui/wksp_tool.cpp 2017-12-07 00:51:19.216303000 +0300 |
3 |
@@ -156,14 +156,14 @@ |
4 |
|
5 |
FileName.SetExt ("html"); |
6 |
|
7 |
- if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) |
8 |
+ if( Stream.Open(static_cast<const wchar_t*>(FileName.GetFullPath().wc_str()), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) |
9 |
{ |
10 |
return( Description.c_str() ); |
11 |
} |
12 |
|
13 |
FileName.SetExt ("htm"); |
14 |
|
15 |
- if( Stream.Open(FileName.GetFullPath().wc_str(), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) |
16 |
+ if( Stream.Open(static_cast<const wchar_t*>(FileName.GetFullPath().wc_str()), SG_FILE_R) && Stream.Read(Description, Stream.Length()) ) |
17 |
{ |
18 |
return( Description.c_str() ); |
19 |
} |