minor bits: fix slang compilation by calling clearok(TRUE) and

wrefresh() on edit instead of curscr, since slang's curses emulation
doesn't include a curscr equivalent; and revert Jordi's removal of a
space in the main help text, as its second paragraph won't be properly
indented by one space without it


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2487 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-04-25 20:08:29 +00:00
parent 29be8031df
commit 0bfec6e58d
3 changed files with 4 additions and 6 deletions

View File

@ -20,8 +20,6 @@ CVS code -
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
- nano.c:
help_init()
- Remove extra space from main help text (Jordi).
print1opt_full()
- If desc should be empty, allow it to be NULL instead of
"", since the latter is not necessarily translated as "".
@ -38,7 +36,7 @@ CVS code -
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR)
total_update()
- Simplify to call clearok(TRUE) and wrefresh() on curscr, which
- Simplify to call clearok(TRUE) and wrefresh() on edit, which
updates the entire screen in fewer function calls. (DLR)
- THANKS:
- Add new translators to the credits.

View File

@ -400,7 +400,7 @@ void help_init(void)
"showing the file being edited. The status line is "
"the third line from the bottom and shows important "
"messages. The bottom two lines show the most "
"commonly used shortcuts in the editor.\n\n");
"commonly used shortcuts in the editor.\n\n ");
htx[1] = N_("The notation for shortcuts is as follows: "
"Control-key sequences are notated with a caret (^) "
"symbol and can be entered either by using the Control "

View File

@ -3742,8 +3742,8 @@ int do_yesno(bool all, const char *msg)
void total_update(void)
{
clearok(curscr, TRUE);
wrefresh(curscr);
clearok(edit, TRUE);
wrefresh(edit);
}
void total_refresh(void)