mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-11 05:49:18 +03:00
* view.c (view): Avoid passing an uninitialized color array to
create_dlg() - pass NULL instead.
This commit is contained in:
parent
8eb26481c1
commit
68f0b4b8b4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user