Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2021-11-19 08:32:47 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
323a686c1ce216255ffb2bafbb7096add8659058
323a686c
1 parent
81c55471
Fix return type
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
printing/windows/print_job.cpp
printing/windows/print_job.cpp
View file @
323a686
...
...
@@ -59,7 +59,7 @@ std::wstring fromUtf8(std::string str) {
auto
len
=
MultiByteToWideChar
(
CP_UTF8
,
0
,
str
.
c_str
(),
static_cast
<
int
>
(
str
.
length
()),
nullptr
,
0
);
if
(
len
<=
0
)
{
return
false
;
return
L""
;
}
auto
wstr
=
std
::
wstring
{};
...
...
Please
register
or
login
to post a comment