mirror of https://github.com/MidnightCommander/mc
Added the macro NULL_QuickWidget for safer declarations of arrays of QuickWidgets.
This commit is contained in:
parent
bd00bef955
commit
fea3a45fff
|
@ -42,6 +42,7 @@ typedef struct {
|
|||
char **str_result; /* Input lines: destination */
|
||||
char *histname; /* Name of the section for saving history */
|
||||
} QuickWidget;
|
||||
#define NULL_QuickWidget { 0, 0, 0, 0, 0, NULL, 0, 0, NULL, NULL, NULL }
|
||||
|
||||
typedef struct {
|
||||
int xlen, ylen;
|
||||
|
|
Loading…
Reference in New Issue