Skip to content
Permalink
Browse files

one more executor fix

  • Loading branch information...
alabuzhev committed May 16, 2016
1 parent 638459b commit 2f00dab99b2602479078d769807aba05db0da90f
Showing with 12 additions and 3 deletions.
  1. +5 −1 far/changelog
  2. +6 −1 far/execute.cpp
  3. +1 −1 far/vbuild.m4
@@ -1,4 +1,8 @@
drkns 15.05.2016 22:00:35 +0200 - build 4674
drkns 16.05.2016 22:55:36 +0200 - build 4675

1. Ещё одно уточнение работы запускателя.

drkns 15.05.2016 22:00:35 +0200 - build 4674

1. Уточнение 4668.

@@ -693,7 +693,12 @@ bool Execute(execute_info& Info, bool FolderRun, bool Silent, const std::functio
{
if (const auto ExtPtr = wcsrchr(PointToName(Str), L'.'))
{
if (!(!StrCmpI(ExtPtr, L".exe") || !StrCmpI(ExtPtr, L".com") || IsBatchExtType(ExtPtr)))
if (IsBatchExtType(ExtPtr))
{
Subsystem = IMAGE_SUBSYSTEM_WINDOWS_CUI;
return true;
}
else
{
DWORD SaError = 0, SaSubSystem = 0;
Verb = GetShellAction(Str, SaSubSystem, SaError);
@@ -1 +1 @@
m4_define(BUILD,4674)m4_dnl
m4_define(BUILD,4675)m4_dnl

0 comments on commit 2f00dab

Please sign in to comment.
You can’t perform that action at this time.