Mercurial > vim
comparison src/gui_gtk.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 2fafae9c79e8 |
children | 0fa25a1b8451 |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
2240 (gboolean)mcase); | 2240 (gboolean)mcase); |
2241 } | 2241 } |
2242 gtk_window_present(GTK_WINDOW(frdp->dialog)); | 2242 gtk_window_present(GTK_WINDOW(frdp->dialog)); |
2243 | 2243 |
2244 // For :promptfind dialog, always give keyboard focus to 'what' entry. | 2244 // For :promptfind dialog, always give keyboard focus to 'what' entry. |
2245 // For :promptrepl dialog, give it to 'with' entry if 'what' has an | 2245 // For :promptrepl dialog, give it to 'with' entry if 'what' has a |
2246 // non-empty entry; otherwise, to 'what' entry. | 2246 // non-empty entry; otherwise, to 'what' entry. |
2247 gtk_widget_grab_focus(frdp->what); | 2247 gtk_widget_grab_focus(frdp->what); |
2248 if (do_replace && entry_get_text_length(GTK_ENTRY(frdp->what)) > 0) | 2248 if (do_replace && entry_get_text_length(GTK_ENTRY(frdp->what)) > 0) |
2249 gtk_widget_grab_focus(frdp->with); | 2249 gtk_widget_grab_focus(frdp->with); |
2250 | 2250 |