Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
objeck committed Feb 17, 2024
1 parent f0fcb8d commit 4ec86ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/vm/vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ wchar_t** ProcessCommandLine(int &argc, const char* argv[])

if(is_response_file) {
// skip '@'
std::wifstream file_in(wide_args[2] + 1);
std::ifstream file_in(wide_args[2] + 1);
if(file_in.is_open()) {
constexpr int ARG_OFFSET = 2;

Expand All @@ -150,10 +150,10 @@ wchar_t** ProcessCommandLine(int &argc, const char* argv[])
wide_args = nullptr;

// copy file parameters
std::wstring line;
std::string line;
std::vector<std::wstring> file_line_params;
while(std::getline(file_in, line)) {
file_line_params.push_back(line);
file_line_params.push_back(BytesToUnicode(line));
}
file_in.close();

Expand Down
Binary file modified docs/api.zip
Binary file not shown.

0 comments on commit 4ec86ec

Please sign in to comment.