* edit/editdraw.c (edit_draw_this_line): Remove unused variable book_mark.
Этот коммит содержится в:
родитель
0ac1df7d4f
Коммит
59e59d9e3b
@ -1,3 +1,7 @@
|
|||||||
|
2006-12-04 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
|
* editdraw.c (edit_draw_this_line): Remove unused variable book_mark.
|
||||||
|
|
||||||
2006-11-17 Roland Illig <roland.illig@gmx.de>
|
2006-11-17 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* edit_cmd.c (edit_save_file): The file's modification time is
|
* edit_cmd.c (edit_save_file): The file's modification time is
|
||||||
|
@ -267,12 +267,7 @@ edit_draw_this_line (WEdit *edit, long b, long row, long start_col,
|
|||||||
int col, start_col_real;
|
int col, start_col_real;
|
||||||
unsigned int c;
|
unsigned int c;
|
||||||
int color;
|
int color;
|
||||||
int i, book_mark = -1;
|
int i;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (!book_mark_query (edit, edit->start_line + row, &book_mark))
|
|
||||||
book_mark = -1;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
edit_get_syntax_color (edit, b - 1, &color);
|
edit_get_syntax_color (edit, b - 1, &color);
|
||||||
q = edit_move_forward3 (edit, b, start_col - edit->start_col, 0);
|
q = edit_move_forward3 (edit, b, start_col - edit->start_col, 0);
|
||||||
@ -306,12 +301,8 @@ edit_draw_this_line (WEdit *edit, long b, long row, long start_col,
|
|||||||
*p |= MOD_BOLD;
|
*p |= MOD_BOLD;
|
||||||
c = edit_get_byte (edit, q);
|
c = edit_get_byte (edit, q);
|
||||||
/* we don't use bg for mc - fg contains both */
|
/* we don't use bg for mc - fg contains both */
|
||||||
if (book_mark == -1) {
|
edit_get_syntax_color (edit, q, &color);
|
||||||
edit_get_syntax_color (edit, q, &color);
|
*p |= color << 16;
|
||||||
*p |= color << 16;
|
|
||||||
} else {
|
|
||||||
*p |= book_mark << 16;
|
|
||||||
}
|
|
||||||
q++;
|
q++;
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '\n':
|
case '\n':
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user