Commit 0bfec6e5 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 4 additions and 6 deletions
+4 -6
...@@ -20,8 +20,6 @@ CVS code - ...@@ -20,8 +20,6 @@ CVS code -
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR) consistency. (DLR)
- nano.c: - nano.c:
help_init()
- Remove extra space from main help text (Jordi).
print1opt_full() print1opt_full()
- If desc should be empty, allow it to be NULL instead of - If desc should be empty, allow it to be NULL instead of
"", since the latter is not necessarily translated as "". "", since the latter is not necessarily translated as "".
...@@ -38,7 +36,7 @@ CVS code - ...@@ -38,7 +36,7 @@ CVS code -
- Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for - Don't treat NANO_CANCEL_KEY as NANO_EXIT_KEY anymore, for
consistency. (DLR) consistency. (DLR)
total_update() 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) updates the entire screen in fewer function calls. (DLR)
- THANKS: - THANKS:
- Add new translators to the credits. - Add new translators to the credits.
......
...@@ -400,7 +400,7 @@ void help_init(void) ...@@ -400,7 +400,7 @@ void help_init(void)
"showing the file being edited. The status line is " "showing the file being edited. The status line is "
"the third line from the bottom and shows important " "the third line from the bottom and shows important "
"messages. The bottom two lines show the most " "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: " htx[1] = N_("The notation for shortcuts is as follows: "
"Control-key sequences are notated with a caret (^) " "Control-key sequences are notated with a caret (^) "
"symbol and can be entered either by using the Control " "symbol and can be entered either by using the Control "
......
...@@ -3742,8 +3742,8 @@ int do_yesno(bool all, const char *msg) ...@@ -3742,8 +3742,8 @@ int do_yesno(bool all, const char *msg)
void total_update(void) void total_update(void)
{ {
clearok(curscr, TRUE); clearok(edit, TRUE);
wrefresh(curscr); wrefresh(edit);
} }
void total_refresh(void) void total_refresh(void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment