From 5e070286b14e1f29511c4d10cd65d6a00f44d825 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 20 Dec 2012 16:18:32 +0400 Subject: [PATCH] Indentation. Signed-off-by: Andrew Borodin --- lib/search/search.c | 2 +- lib/vfs/vfs.h | 2 ++ lib/vfs/xdirentry.h | 2 ++ src/filemanager/filegui.c | 3 ++- src/filemanager/mountlist.c | 3 ++- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/search/search.c b/lib/search/search.c index 434e57247..4f30f26ab 100644 --- a/lib/search/search.c +++ b/lib/search/search.c @@ -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; diff --git a/lib/vfs/vfs.h b/lib/vfs/vfs.h index 84f1ccf22..757549cfa 100644 --- a/lib/vfs/vfs.h +++ b/lib/vfs/vfs.h @@ -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; /* diff --git a/lib/vfs/xdirentry.h b/lib/vfs/xdirentry.h index 1ef473a9a..c1b2c9b1d 100644 --- a/lib/vfs/xdirentry.h +++ b/lib/vfs/xdirentry.h @@ -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 *********************************************************/ diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c index 5837ed89b..edfc7c648 100644 --- a/src/filemanager/filegui.c +++ b/src/filemanager/filegui.c @@ -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; diff --git a/src/filemanager/mountlist.c b/src/filemanager/mountlist.c index eac0e12ba..db98e811a 100644 --- a/src/filemanager/mountlist.c +++ b/src/filemanager/mountlist.c @@ -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; -- 2.11.4.GIT