1
1

* view.c (view): Avoid passing an uninitialized color array to

create_dlg() - pass NULL instead.
Этот коммит содержится в:
Pavel Roskin 2002-08-31 04:30:57 +00:00
родитель 8eb26481c1
Коммит 68f0b4b8b4
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2002-08-31 Pavel Roskin <proski@gnu.org>
* view.c (view): Avoid passing an uninitialized color array to
create_dlg() - pass NULL instead.
2002-08-30 Pavel Roskin <proski@gnu.org>
* color.c: Define global array alarm_colors for the colors used

Просмотреть файл

@ -2390,14 +2390,13 @@ Dlg_head *view_dlg;
int
view (char *_command, const char *_file, int *move_dir_p, int start_line)
{
int midnight_colors [4];
int error;
WView *wview;
WButtonBar *bar;
Dlg_head *our_dlg;
/* Create dialog and widgets, put them on the dialog */
our_dlg = create_dlg (0, 0, LINES, COLS, midnight_colors,
our_dlg = create_dlg (0, 0, LINES, COLS, NULL,
view_mode_callback, "[Internal File Viewer]",
"view",
DLG_NONE);