* editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of

NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
This commit is contained in:
Pavel Roskin 2002-07-14 06:17:02 +00:00
parent 0ce1cd7354
commit 4655fbbb6b
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-07-14 Pavel Roskin <proski@gnu.org>
* editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of
NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
2002-06-24 Pavel Roskin <proski@gnu.org> 2002-06-24 Pavel Roskin <proski@gnu.org>
* edit.c (check_file_access): Return 1 on all errors, document * edit.c (check_file_access): Return 1 on all errors, document

View File

@ -97,7 +97,7 @@ void edit_status (WEdit * edit)
s[w] = 0; s[w] = 0;
printw ("%-*s", w, s); printw ("%-*s", w, s);
attrset (NORMAL_COLOR); attrset (EDITOR_NORMAL_COLOR);
free (s); free (s);
} }

View File

@ -1023,7 +1023,7 @@ void edit_free_syntax_rules (WEdit * edit)
void edit_get_syntax_color (WEdit * edit, long byte_index, int *fg, int *bg) void edit_get_syntax_color (WEdit * edit, long byte_index, int *fg, int *bg)
{ {
*fg = NORMAL_COLOR; *fg = EDITOR_NORMAL_COLOR;
} }
int edit_check_spelling (WEdit * edit) int edit_check_spelling (WEdit * edit)