diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-08-29 16:13:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-08-29 16:13:22 +0000 |
commit | 265e5074b59b721f44baae35cfd3af6f9b93b879 (patch) | |
tree | 901ecbb7c497390e1a81d48375cb94b217883170 /src/gui.c | |
parent | 9160f30161fab3831ad9b769efe2bf720f2b74c2 (diff) | |
download | vim-git-265e5074b59b721f44baae35cfd3af6f9b93b879.tar.gz |
updated for version 7.0-072v7.0.072
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -187,9 +187,10 @@ gui_start() #endif #ifdef FEAT_AUTOCMD - /* If the GUI started successfully, trigger the GUIEnter event */ - if (gui.in_use) - apply_autocmds(EVENT_GUIENTER, NULL, NULL, FALSE, curbuf); + /* If the GUI started successfully, trigger the GUIEnter event, otherwise + * the GUIFailed event. */ + apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED, + NULL, NULL, FALSE, curbuf); #endif --recursive; |