src/*/*.[ch]: fix indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
родитель
281209c79d
Коммит
7b8e790de0
@ -68,7 +68,8 @@ edit_search_options_t edit_search_options = {
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static cb_ret_t
|
||||
editcmd_dialog_raw_key_query_cb (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
|
||||
editcmd_dialog_raw_key_query_cb (Widget * w, Widget * sender, widget_msg_t msg, int parm,
|
||||
void *data)
|
||||
{
|
||||
WDialog *h = DIALOG (w);
|
||||
|
||||
@ -254,10 +255,10 @@ editcmd_dialog_replace_prompt_show (WEdit * edit, char *from_text, char *to_text
|
||||
ypos -= dlg_height;
|
||||
|
||||
g_snprintf (tmp, sizeof (tmp), "\"%s\"", from_text);
|
||||
repl_from = g_strdup (str_trunc (tmp, - 7));
|
||||
repl_from = g_strdup (str_trunc (tmp, -7));
|
||||
|
||||
g_snprintf (tmp, sizeof (tmp), "\"%s\"", to_text);
|
||||
repl_to = g_strdup (str_trunc (tmp, - 7));
|
||||
repl_to = g_strdup (str_trunc (tmp, -7));
|
||||
|
||||
{
|
||||
quick_widget_t quick_widgets[] = {
|
||||
|
@ -143,8 +143,8 @@ edit_options_dialog (WDialog * h)
|
||||
wrap_mode = 0;
|
||||
|
||||
{
|
||||
/* *INDENT-OFF* */
|
||||
quick_widget_t quick_widgets[] = {
|
||||
/* *INDENT-OFF* */
|
||||
QUICK_START_COLUMNS,
|
||||
QUICK_START_GROUPBOX (N_("Wrap mode")),
|
||||
QUICK_RADIO (3, wrap_str, &wrap_mode, NULL),
|
||||
|
@ -851,7 +851,7 @@ chown_advanced_cmd (void)
|
||||
|
||||
file_idx = files_on_begin == 1 ? 1 : (files_on_begin - current_panel->marked + 1);
|
||||
g_snprintf (buffer, sizeof (buffer), "%s (%d/%d)",
|
||||
str_fit_to_term (fname, WIDGET(ch_dlg)->cols - 20, J_LEFT_FIT),
|
||||
str_fit_to_term (fname, WIDGET (ch_dlg)->cols - 20, J_LEFT_FIT),
|
||||
file_idx, files_on_begin);
|
||||
label_set_text (l_filename, buffer);
|
||||
chown_refresh ();
|
||||
|
@ -596,7 +596,7 @@ real_query_recursive (FileOpContext * ctx, enum OperationMode mode, const char *
|
||||
query_set_sel (1);
|
||||
|
||||
ctx->recursive_result =
|
||||
(FileCopyMode) query_dialog (op_names [OP_DELETE], text, D_ERROR, 5,
|
||||
(FileCopyMode) query_dialog (op_names[OP_DELETE], text, D_ERROR, 5,
|
||||
_("&Yes"), _("&No"), _("A&ll"), _("Non&e"), _("&Abort"));
|
||||
g_free (text);
|
||||
|
||||
|
@ -791,7 +791,7 @@ init_hotlist (hotlist_t list_type)
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static void
|
||||
init_movelist ( struct hotlist *item)
|
||||
init_movelist (struct hotlist *item)
|
||||
{
|
||||
size_t i;
|
||||
char *hdr;
|
||||
|
@ -9,7 +9,8 @@
|
||||
|
||||
/*** enums ***************************************************************************************/
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
LIST_VFSLIST = 0x01,
|
||||
LIST_HOTLIST = 0x02,
|
||||
LIST_MOVELIST = 0x04
|
||||
|
@ -73,7 +73,7 @@ static struct my_statfs myfs_stats;
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static void
|
||||
info_box (WInfo *info)
|
||||
info_box (WInfo * info)
|
||||
{
|
||||
Widget *w = WIDGET (info);
|
||||
|
||||
@ -98,7 +98,7 @@ info_box (WInfo *info)
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static void
|
||||
info_show_info (WInfo *info)
|
||||
info_show_info (WInfo * info)
|
||||
{
|
||||
Widget *w = WIDGET (info);
|
||||
static int i18n_adjust = 0;
|
||||
@ -185,8 +185,7 @@ info_show_info (WInfo *info)
|
||||
|
||||
case 13:
|
||||
widget_move (w, 13, 3);
|
||||
str_printf (buff, _("Device: %s"),
|
||||
str_trunc (myfs_stats.device, w->cols - i18n_adjust));
|
||||
str_printf (buff, _("Device: %s"), str_trunc (myfs_stats.device, w->cols - i18n_adjust));
|
||||
tty_print_string (buff->str);
|
||||
g_string_set_size (buff, 0);
|
||||
case 12:
|
||||
|
@ -310,7 +310,7 @@ bminus_cback (WButton * button, int action)
|
||||
static cb_ret_t
|
||||
layout_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *data)
|
||||
{
|
||||
WDialog * h = DIALOG (w);
|
||||
WDialog *h = DIALOG (w);
|
||||
|
||||
switch (msg)
|
||||
{
|
||||
|
@ -1295,8 +1295,7 @@ show_dir (WPanel * panel)
|
||||
tty_setcolor (REVERSE_COLOR);
|
||||
|
||||
tmp = panel_correct_path_to_show (panel);
|
||||
tty_printf (" %s ",
|
||||
str_term_trim (tmp, min (max (w->cols - 12, 0), w->cols)));
|
||||
tty_printf (" %s ", str_term_trim (tmp, min (max (w->cols - 12, 0), w->cols)));
|
||||
g_free (tmp);
|
||||
|
||||
if (!panels_options.show_mini_info)
|
||||
|
@ -563,7 +563,8 @@ help_show (WDialog * h, const char *paint_start)
|
||||
#ifndef HAVE_SLANG
|
||||
tty_print_char (acs_map[c]);
|
||||
#else
|
||||
SLsmg_draw_object (WIDGET (h)->y + line + 2, WIDGET (h)->x + col + 2, c);
|
||||
SLsmg_draw_object (WIDGET (h)->y + line + 2, WIDGET (h)->x + col + 2,
|
||||
c);
|
||||
#endif
|
||||
col++;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user