Ticket #1785: fix of editor default color usage.
commit7f119ffbbc97fb2f1a1b8cc972299b5a56ced59a
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 11 Sep 2010 15:47:50 +0000 (11 19:47 +0400)
committerSlava Zanko <slavazanko@gmail.com>
Wed, 6 Oct 2010 09:15:45 +0000 (6 12:15 +0300)
treeb79785275ca9b51b2b307c5e969ebc6e93f1afe6
parentb537fcc5a9987d967edcc4cabcb8f93b6c908a86
Ticket #1785: fix of editor default color usage.

(this_try_alloc_color_pair): if foreground and background editor colors
are undefined in syntax, the NORMAL_COLOR is used. This is wrong.
EDITOR_NORMAL_COLOR mut be used instead.

(edit_status): cleanup: remove useless color change.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/editor/editdraw.c
src/editor/syntax.c