Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-07-16 18:03:15 +03:00
parent 978ce6d0dd
commit f1cf92f435
7 changed files with 15 additions and 15 deletions

View File

@ -198,8 +198,7 @@ menubar_draw_drop (const WMenuBar * menubar)
tty_draw_box (w->y + 1, w->x + column, count + 2, menu->max_entry_len + 5, FALSE);
for (i = 0; i < count; i++)
menubar_paint_idx (menubar, i,
i == menu->current ? MENU_SELECTED_COLOR : MENU_ENTRY_COLOR);
menubar_paint_idx (menubar, i, i == menu->current ? MENU_SELECTED_COLOR : MENU_ENTRY_COLOR);
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -3538,8 +3538,7 @@ dview_diff_cmd (const void *f0, const void *f1)
const file_entry_t *fe1;
fe0 = panel_current_entry (panel0);
file0 =
vfs_path_append_new (panel0->cwd_vpath, fe0->fname->str, (char *) NULL);
file0 = vfs_path_append_new (panel0->cwd_vpath, fe0->fname->str, (char *) NULL);
is_dir0 = S_ISDIR (fe0->st.st_mode);
if (is_dir0)
{
@ -3549,8 +3548,7 @@ dview_diff_cmd (const void *f0, const void *f1)
}
fe1 = panel_current_entry (panel1);
file1 =
vfs_path_append_new (panel1->cwd_vpath, fe1->fname->str, (char *) NULL);
file1 = vfs_path_append_new (panel1->cwd_vpath, fe1->fname->str, (char *) NULL);
is_dir1 = S_ISDIR (fe1->st.st_mode);
if (is_dir1)
{

View File

@ -1931,9 +1931,13 @@ find_cmd (WPanel * panel)
dirname_vpath = vfs_path_from_str (dirname);
panel_cd (panel, dirname_vpath, cd_exact);
vfs_path_free (dirname_vpath, TRUE);
/* *INDENT-OFF* */
if (filename != NULL)
panel_set_current_by_name (panel, filename + (content_pattern != NULL
? strchr (filename + 4, ':') - filename + 1 : 4));
panel_set_current_by_name (panel,
filename + (content_pattern != NULL
? strchr (filename + 4, ':') - filename + 1
: 4));
/* *INDENT-ON* */
}
else if (filename != NULL)
{

View File

@ -56,8 +56,7 @@ vpath_captured_free (gpointer data)
static void
vfs_file_is_local__init (void)
{
vfs_file_is_local__vpath__captured =
g_ptr_array_new_with_free_func (vpath_captured_free);
vfs_file_is_local__vpath__captured = g_ptr_array_new_with_free_func (vpath_captured_free);
}
static void