top: add pseudo type to the inspect demo '=' provision
When 'type' was added to the alternate status line for
the '=' key, the need for the demonstration 'type' was
overlooked. This commit avoids the '(null)' potential.
(now that we know a '.' + 2 spaces is squeezed to one)
(everything's perfectly justified, but it's just luck)
Reference(s);
commit 3b2b9a95e6
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@ -3109,9 +3109,10 @@ try_inspect_entries:
|
||||
Inspect.total = Inspect.demo = MAXTBL(sels);
|
||||
Inspect.tab = alloc_c(sizeof(struct I_ent) * Inspect.total);
|
||||
for (i = 0; i < Inspect.total; i++) {
|
||||
Inspect.tab[i].type = strdup(N_txt(YINSP_deqtyp_txt));
|
||||
Inspect.tab[i].name = strdup(sels[i]);
|
||||
Inspect.tab[i].func = insp_do_demo;
|
||||
Inspect.tab[i].fmts = strdup(N_txt(YINSP_deqkey_txt));
|
||||
Inspect.tab[i].fmts = strdup(N_txt(YINSP_deqfmt_txt));
|
||||
Inspect.tab[i].fstr = alloc_c(FNDBUFSIZ);
|
||||
}
|
||||
#undef mkS
|
||||
|
Reference in New Issue
Block a user