^X tabbed field support
This commit is contained in:
@@ -32,6 +32,7 @@ poles and grappling hook worked thru walls when wearing Eyes of the Overworld
|
||||
more tweaks to fog cloud behavior
|
||||
when dismounting by choice and unimpaired, try not to land on a boulder
|
||||
casting stone-to-flesh on self while wielding a statue caused problems
|
||||
add tab support to menu strings for control-x minimal_enlightenment()
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
11
src/cmd.c
11
src/cmd.c
@@ -1134,9 +1134,16 @@ minimal_enlightenment()
|
||||
anything any;
|
||||
int genidx, n;
|
||||
char buf[BUFSZ], buf2[BUFSZ];
|
||||
static const char fmtstr[] = "%-15s: %-12s";
|
||||
static const char deity_fmtstr[] = "%-17s%s";
|
||||
static const char untabbed_fmtstr[] = "%-15s: %-12s";
|
||||
static const char untabbed_deity_fmtstr[] = "%-17s%s";
|
||||
static const char tabbed_fmtstr[] = "%s:\t%-12s";
|
||||
static const char tabbed_deity_fmtstr[] = "%s\t%s";
|
||||
static const char *fmtstr;
|
||||
static const char *deity_fmtstr;
|
||||
|
||||
fmtstr = iflags.menu_tab_sep ? tabbed_fmtstr : untabbed_fmtstr;
|
||||
deity_fmtstr = iflags.menu_tab_sep ?
|
||||
tabbed_deity_fmtstr : untabbed_deity_fmtstr;
|
||||
any.a_void = 0;
|
||||
buf[0] = buf2[0] = '\0';
|
||||
tmpwin = create_nhwindow(NHW_MENU);
|
||||
|
||||
Reference in New Issue
Block a user