mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Code indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
02265113cd
commit
923d379d5a
@ -411,7 +411,8 @@ exec_extension_cd (void)
|
|||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
|
||||||
static vfs_path_t *
|
static vfs_path_t *
|
||||||
exec_extension (void *target, const vfs_path_t * filename_vpath, const char *lc_data, int start_line)
|
exec_extension (void *target, const vfs_path_t * filename_vpath, const char *lc_data,
|
||||||
|
int start_line)
|
||||||
{
|
{
|
||||||
char *shell_string, *export_variables;
|
char *shell_string, *export_variables;
|
||||||
vfs_path_t *script_vpath = NULL;
|
vfs_path_t *script_vpath = NULL;
|
||||||
@ -1047,7 +1048,8 @@ regex_command_for (void *target, const vfs_path_t * filename_vpath, const char *
|
|||||||
{
|
{
|
||||||
vfs_path_t *sv;
|
vfs_path_t *sv;
|
||||||
|
|
||||||
sv = exec_extension (target, filename_vpath, r + 1, view_at_line_number);
|
sv = exec_extension (target, filename_vpath, r + 1,
|
||||||
|
view_at_line_number);
|
||||||
if (script_vpath != NULL)
|
if (script_vpath != NULL)
|
||||||
*script_vpath = sv;
|
*script_vpath = sv;
|
||||||
else
|
else
|
||||||
|
@ -45,7 +45,8 @@ extern mcview_t *mcview_new (int y, int x, int lines, int cols, gboolean is_pane
|
|||||||
*/
|
*/
|
||||||
extern gboolean mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_line);
|
extern gboolean mcview_viewer (const char *command, const vfs_path_t * file_vpath, int start_line);
|
||||||
|
|
||||||
extern gboolean mcview_load (mcview_t * view, const char *command, const char *file, int start_line);
|
extern gboolean mcview_load (mcview_t * view, const char *command, const char *file,
|
||||||
|
int start_line);
|
||||||
|
|
||||||
/*** inline functions ****************************************************************************/
|
/*** inline functions ****************************************************************************/
|
||||||
#endif /* MC__VIEWER_H */
|
#endif /* MC__VIEWER_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user