* layout.c: Followed the renaming of view_init() to view_load().
* view.h: Likewise.
Этот коммит содержится в:
родитель
14a8919772
Коммит
081dd56e8c
@ -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 <roland.illig@gmx.de>
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 */
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user