editdraw.c: removed unused defines.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-01-15 12:46:12 +03:00 committed by Slava Zanko
parent dc3ff33d34
commit 4ca6fe66aa

View File

@ -74,19 +74,12 @@ int visible_tabs = 1, visible_tws = 1;
#define MOD_CURSOR (1 << 11)
#define MOD_WHITESPACE (1 << 12)
#define FONT_OFFSET_X 0
#define FONT_OFFSET_Y 0
#define FIXED_FONT 1
#define FONT_PIX_PER_LINE 1
#define FONT_MEAN_WIDTH 1
#define edit_move(x,y) widget_move(edit, y, x);
#define key_pending(x) (!is_idle())
#define EDITOR_MINIMUM_TERMINAL_WIDTH 30
/*** file scope type declarations ****************************************************************/
struct line_s
@ -243,14 +236,14 @@ print_to_widget (WEdit * edit, long row, int start_col, int start_col_real,
tty_setcolor (LINE_STATE_COLOR);
for (i = 0; i < LINE_STATE_WIDTH; i++)
{
edit_move (x1 + i + FONT_OFFSET_X - option_line_state_width, y + FONT_OFFSET_Y);
edit_move (x1 + i - option_line_state_width, y);
if (status[i] == '\0')
status[i] = ' ';
tty_print_char (status[i]);
}
}
edit_move (x1 + FONT_OFFSET_X, y + FONT_OFFSET_Y);
edit_move (x1, y);
p = line;
i = 1;
while (p->ch)