diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-29 21:18:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-29 21:18:24 +0000 |
commit | e2f98b95c8071f772695602cd4f714dc588eb8e7 (patch) | |
tree | 28442f952f7e5258e2addd8871a4a2930e768c0a /src/gui_w48.c | |
parent | 86ca6e3b8c9c5d909421eb5abc2d81e02d402b49 (diff) | |
download | vim-git-e2f98b95c8071f772695602cd4f714dc588eb8e7.tar.gz |
updated for version 7.0c03v7.0c03
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index 8b4684a40..0f6cb7b1a 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1070,6 +1070,12 @@ gui_mch_open(void) if (!IsWindowVisible(s_hwnd)) ShowWindow(s_hwnd, SW_SHOWDEFAULT); +#ifdef MSWIN_FIND_REPLACE + /* Init replace string here, so that we keep it when re-opening the + * dialog. */ + s_findrep_struct.lpstrReplaceWith[0] = NUL; +#endif + return OK; } @@ -1339,6 +1345,8 @@ gui_mch_get_color(char_u *name) {"Grey", RGB(0xC0, 0xC0, 0xC0)}, {"LightGray", RGB(0xE0, 0xE0, 0xE0)}, {"LightGrey", RGB(0xE0, 0xE0, 0xE0)}, + {"Gray90", RGB(0xE5, 0xE5, 0xE5)}, + {"Grey90", RGB(0xE5, 0xE5, 0xE5)}, {"White", RGB(0xFF, 0xFF, 0xFF)}, {"DarkRed", RGB(0x80, 0x00, 0x00)}, {"Red", RGB(0xFF, 0x00, 0x00)}, @@ -2370,11 +2378,8 @@ initialise_findrep(char_u *initial_string) if (wword) s_findrep_struct.Flags |= FR_WHOLEWORD; if (entry_text != NULL && *entry_text != NUL) - { vim_strncpy(s_findrep_struct.lpstrFindWhat, entry_text, s_findrep_struct.wFindWhatLen - 1); - s_findrep_struct.lpstrReplaceWith[0] = NUL; - } vim_free(entry_text); } #endif |