Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-12-20 16:18:32 +04:00
parent d8f970c503
commit 5e070286b1
5 changed files with 9 additions and 3 deletions

View File

@ -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;

View File

@ -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;
/*

View File

@ -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 *********************************************************/

View 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;

View File

@ -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;