mirror of https://github.com/MidnightCommander/mc
Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d8f970c503
commit
5e070286b1
|
@ -388,7 +388,7 @@ mc_search (const gchar * pattern, const gchar * str, mc_search_type_t type)
|
|||
return FALSE;
|
||||
|
||||
search = mc_search_new (pattern, -1);
|
||||
if (search == NULL )
|
||||
if (search == NULL)
|
||||
return FALSE;
|
||||
|
||||
search->search_type = type;
|
||||
|
|
|
@ -137,6 +137,7 @@ typedef struct vfs_class
|
|||
void *data; /* this is for filesystem's own use */
|
||||
int verrno; /* can't use errno because glibc2 might define errno as function */
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
int (*init) (struct vfs_class * me);
|
||||
void (*done) (struct vfs_class * me);
|
||||
|
||||
|
@ -193,6 +194,7 @@ typedef struct vfs_class
|
|||
|
||||
int (*ctl) (void *vfs_info, int ctlop, void *arg);
|
||||
int (*setctl) (const vfs_path_t * vpath, int ctlop, void *arg);
|
||||
/* *INDENT-ON* */
|
||||
} vfs_class;
|
||||
|
||||
/*
|
||||
|
|
|
@ -124,6 +124,7 @@ struct vfs_s_subclass
|
|||
FILE *logfile;
|
||||
int flush; /* if set to 1, invalidate directory cache */
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
int (*init_inode) (struct vfs_class * me, struct vfs_s_inode * ino); /* optional */
|
||||
void (*free_inode) (struct vfs_class * me, struct vfs_s_inode * ino); /* optional */
|
||||
int (*init_entry) (struct vfs_class * me, struct vfs_s_entry * entry); /* optional */
|
||||
|
@ -149,6 +150,7 @@ struct vfs_s_subclass
|
|||
int (*linear_start) (struct vfs_class * me, vfs_file_handler_t * fh, off_t from);
|
||||
ssize_t (*linear_read) (struct vfs_class * me, vfs_file_handler_t * fh, void *buf, size_t len);
|
||||
void (*linear_close) (struct vfs_class * me, vfs_file_handler_t * fh);
|
||||
/* *INDENT-ON* */
|
||||
};
|
||||
|
||||
/*** global variables defined in .c file *********************************************************/
|
||||
|
|
|
@ -632,7 +632,8 @@ check_progress_buttons (FileOpContext * ctx)
|
|||
/* {{{ File progress display routines */
|
||||
|
||||
void
|
||||
file_op_context_create_ui (FileOpContext * ctx, gboolean with_eta, filegui_dialog_type_t dialog_type)
|
||||
file_op_context_create_ui (FileOpContext * ctx, gboolean with_eta,
|
||||
filegui_dialog_type_t dialog_type)
|
||||
{
|
||||
FileOpContextUI *ui;
|
||||
|
||||
|
|
|
@ -811,7 +811,8 @@ read_file_system_list (int need_fs_type)
|
|||
break;
|
||||
|
||||
me = g_malloc (sizeof (*me));
|
||||
me->me_devname = g_strdup (fi.device_name[0] != '\0' ? fi.device_name : fi.fsh_name);
|
||||
me->me_devname =
|
||||
g_strdup (fi.device_name[0] != '\0' ? fi.device_name : fi.fsh_name);
|
||||
me->me_mountdir = g_strdup (re != NULL ? re->name : fi.fsh_name);
|
||||
me->me_type = g_strdup (fi.fsh_name);
|
||||
me->me_type_malloced = 1;
|
||||
|
|
Loading…
Reference in New Issue