Skip to content

Commit

Permalink
Merge pull request sakura-editor#1004 from berryzplus/feature/fix_bad…
Browse files Browse the repository at this point in the history
…_cast_for_string_literal

文字列リテラルを格納する型の誤りを訂正
  • Loading branch information
berryzplus authored Aug 23, 2019
2 parents 4f958b5 + 2b2aeb0 commit 5f3cfae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sakura_core/cmd/CViewCommander_File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ void CViewCommander::Command_OPEN_COMMAND_PROMPT(BOOL isAdmin)
return;
}

LPWSTR pVerb = L"open";
LPCWSTR pVerb = L"open";
if (isAdmin)
{
pVerb = L"runas";
Expand Down Expand Up @@ -633,7 +633,7 @@ void CViewCommander::Command_OPEN_POWERSHELL(BOOL isAdmin)
cmdExeParam.AppendStringF(L"-NoExit -Command \"Set-Location -Path '%s'\"", strFolder.c_str());
LPCWSTR pszcmdExeParam = cmdExeParam.GetStringPtr();

LPWSTR pVerb = L"open";
LPCWSTR pVerb = L"open";
if (isAdmin)
{
pVerb = L"runas";
Expand Down

0 comments on commit 5f3cfae

Please sign in to comment.