mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
code indentation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
d92a9fa9ac
commit
02bf6e2c59
@ -3250,8 +3250,7 @@ edit_move_to_prev_col (WEdit * edit, off_t p)
|
|||||||
edit->curs_col -= (edit->curs_col % (HALF_TAB_SIZE * space_width));
|
edit->curs_col -= (edit->curs_col % (HALF_TAB_SIZE * space_width));
|
||||||
p = edit_bol (edit, edit->curs1);
|
p = edit_bol (edit, edit->curs1);
|
||||||
edit_cursor_move (edit,
|
edit_cursor_move (edit,
|
||||||
edit_move_forward3 (edit, p, edit->curs_col,
|
edit_move_forward3 (edit, p, edit->curs_col, 0) - edit->curs1);
|
||||||
0) - edit->curs1);
|
|
||||||
if (!left_of_four_spaces (edit))
|
if (!left_of_four_spaces (edit))
|
||||||
edit_cursor_move (edit, edit_move_forward3 (edit, p, q, 0) - edit->curs1);
|
edit_cursor_move (edit, edit_move_forward3 (edit, p, q, 0) - edit->curs1);
|
||||||
}
|
}
|
||||||
|
@ -155,11 +155,9 @@ status_string (WEdit * edit, char *s, int w)
|
|||||||
edit->curs_line + 1,
|
edit->curs_line + 1,
|
||||||
edit->total_lines + 1, (long) edit->curs1, (long) edit->last_byte, byte_str,
|
edit->total_lines + 1, (long) edit->curs1, (long) edit->last_byte, byte_str,
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
mc_global.source_codepage >=
|
mc_global.source_codepage >= 0 ? get_codepage_id (mc_global.source_codepage) :
|
||||||
0 ? get_codepage_id (mc_global.source_codepage) :
|
|
||||||
#endif
|
#endif
|
||||||
""
|
"");
|
||||||
);
|
|
||||||
else
|
else
|
||||||
g_snprintf (s, w,
|
g_snprintf (s, w,
|
||||||
"[%c%c%c%c] %2ld L:[%3ld+%2ld %3ld/%3ld] *(%-4ld/%4ldb) %s %s",
|
"[%c%c%c%c] %2ld L:[%3ld+%2ld %3ld/%3ld] *(%-4ld/%4ldb) %s %s",
|
||||||
@ -173,11 +171,9 @@ status_string (WEdit * edit, char *s, int w)
|
|||||||
edit->curs_line + 1,
|
edit->curs_line + 1,
|
||||||
edit->total_lines + 1, (long) edit->curs1, (long) edit->last_byte, byte_str,
|
edit->total_lines + 1, (long) edit->curs1, (long) edit->last_byte, byte_str,
|
||||||
#ifdef HAVE_CHARSET
|
#ifdef HAVE_CHARSET
|
||||||
mc_global.source_codepage >=
|
mc_global.source_codepage >= 0 ? get_codepage_id (mc_global.source_codepage) :
|
||||||
0 ? get_codepage_id (mc_global.source_codepage) :
|
|
||||||
#endif
|
#endif
|
||||||
""
|
"");
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user