patch 9.2.0611: MS-Windows: evim.exe not working with VIMDLL

Commit: 
https://github.com/vim/vim/commit/fcb0a7801b63863639e65a621d3d8c5a8d2ccc29
Author: K.Takata <[email protected]>
Date:   Tue Jun 9 19:40:52 2026 +0000

    patch 9.2.0611: MS-Windows: evim.exe not working with VIMDLL
    
    Problem:  When gvim.exe is built with VIMDLL=yes, and gvim.exe is copied
              to evim.exe, evim.exe didn't start in the easy mode.
    Solution: Check the executable file type in addition to its filename
              (Ken Takata).
    
    closes: #20454
    
    Signed-off-by: K.Takata <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/main.c b/src/main.c
index e30012be4..53a292325 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2047,7 +2047,11 @@ parse_command_name(mparm_T *parmp)
     }
 
     // "gvim" starts the GUI.  Also accept "Gvim" for MS-Windows.
-    if (TOLOWER_ASC(initstr[0]) == 'g')
+    if (TOLOWER_ASC(initstr[0]) == 'g'
+# ifdef VIMDLL
+           || mch_is_gui_executable()
+# endif
+       )
     {
        main_start_gui();
 # ifdef FEAT_GUI
diff --git a/src/version.c b/src/version.c
index 3b135e4b0..563b2d0ca 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    611,
 /**/
     610,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wX2No-006igE-By%40256bit.org.

Raspunde prin e-mail lui