mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-01 22:15:20 +03:00
in do_spell(), set currshortcut to main_list before calling
total_refresh() near the end of the function, so that we don't display the wrong shortcut list git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3651 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
b5e66d05cb
commit
f32e1dd589
@ -346,9 +346,9 @@ CVS code -
|
|||||||
do_spell()
|
do_spell()
|
||||||
- Clarify the error message when creating a temporary file
|
- Clarify the error message when creating a temporary file
|
||||||
fails. (DLR)
|
fails. (DLR)
|
||||||
- Call total_redraw() instead of total_refresh() after running
|
- Set currshortcut to main_list before calling total_refresh()
|
||||||
the spell-checker, since the latter will display the wrong
|
near the end of the function, so that we don't display the
|
||||||
shortcut list. (DLR)
|
wrong shortcut list. (DLR)
|
||||||
do_verbatim_input()
|
do_verbatim_input()
|
||||||
- Add a translator comment explaining the "Verbatim Input"
|
- Add a translator comment explaining the "Verbatim Input"
|
||||||
statusbar message. (Benno Schulenberg)
|
statusbar message. (Benno Schulenberg)
|
||||||
|
@ -2334,9 +2334,11 @@ void do_spell(void)
|
|||||||
unlink(temp);
|
unlink(temp);
|
||||||
free(temp);
|
free(temp);
|
||||||
|
|
||||||
|
currshortcut = main_list;
|
||||||
|
|
||||||
/* If the spell-checker printed any error messages onscreen, make
|
/* If the spell-checker printed any error messages onscreen, make
|
||||||
* sure that they're cleared off. */
|
* sure that they're cleared off. */
|
||||||
total_redraw();
|
total_refresh();
|
||||||
|
|
||||||
if (spell_msg != NULL) {
|
if (spell_msg != NULL) {
|
||||||
if (errno == 0)
|
if (errno == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user