Skip to content

Commit

Permalink
Fix missing wide string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
namazso committed Jul 15, 2023
1 parent 998f813 commit 877aab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OpenHashTab/updatecheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ utl::Version utl::GetLatestVersion() {

if (reply.error_code)
throw std::runtime_error(FormatString(
ESTRt("Error %08X at %d: %s"),
ESTRt("Error %08X at %d: %ls"),
reply.error_code,
reply.error_location,
ErrorToString(reply.error_code).c_str()
Expand Down
2 changes: 1 addition & 1 deletion OpenHashTab/virustotal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ std::list<vt::Result> vt::Query(const std::list<FileHashTask*>& files, size_t al

if (reply.error_code)
throw std::runtime_error(utl::FormatString(
ESTRt("Error %08X at %d: %s"),
ESTRt("Error %08X at %d: %ls"),
reply.error_code,
reply.error_location,
utl::ErrorToString(reply.error_code).c_str()
Expand Down

0 comments on commit 877aab8

Please sign in to comment.