Skip to content

Commit

Permalink
Merge pull request #1004 from berryzplus/feature/fix_bad_cast_for_str…
Browse files Browse the repository at this point in the history
…ing_literal

文字列リテラルを格納する型の誤りを訂正
  • Loading branch information
berryzplus authored Aug 23, 2019
2 parents 29aff68 + 6f098dc commit eb98880
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 eb98880

Please sign in to comment.