From 081dd56e8c9a71302837c643d9d561eb07266b3d Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Thu, 14 Apr 2005 18:24:02 +0000 Subject: [PATCH] * layout.c: Followed the renaming of view_init() to view_load(). * view.h: Likewise. --- src/ChangeLog | 2 ++ src/layout.c | 2 +- src/view.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2870e0b3a..93901cbac 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -28,6 +28,8 @@ blocks to growbuf_blocks, block_ptr to growbuf_blockptr. * view.c (struct WView): Renamed ds_file_size to ds_file_filesize, to avoid confusion with ds_file_datasize. + * layout.c: Followed the renaming of view_init() to view_load(). + * view.h: Likewise. 2005-04-13 Roland Illig diff --git a/src/layout.c b/src/layout.c index 13ae3f8f0..0ece85640 100644 --- a/src/layout.c +++ b/src/layout.c @@ -966,7 +966,7 @@ void set_display_type (int num, int type) else file_name = ""; - view_init ((WView *) new_widget, 0, file_name, 0); + view_load ((WView *) new_widget, 0, file_name, 0); break; } panels [num].type = type; diff --git a/src/view.h b/src/view.h index 1056c36df..f11eb6b81 100644 --- a/src/view.h +++ b/src/view.h @@ -6,7 +6,7 @@ typedef struct WView WView; /* Creation/initialization of a new view widget */ WView *view_new (int y, int x, int cols, int lines, int is_panel); -int view_init (WView *view, const char *_command, const char *_file, +int view_load (WView *view, const char *_command, const char *_file, int start_line); /* Command: view a _file, if _command != NULL we use popen on _command */