fix typos
This commit is contained in:
@@ -1665,7 +1665,7 @@ struct ext_func_tab extcmdlist[] = {
|
||||
{ '>', "down", "go down a staircase",
|
||||
/* allows 'm' prefix (for move without autopickup) but not the
|
||||
g/G/F movement modifiers; not flagged as MOVEMENTCMD because
|
||||
that would would suppress it from dokeylist output */
|
||||
that would suppress it from dokeylist output */
|
||||
dodown, CMD_M_PREFIX, NULL },
|
||||
{ 'd', "drop", "drop an item",
|
||||
dodrop, 0, NULL },
|
||||
|
||||
@@ -3000,7 +3000,7 @@ optfn_perminv_mode(
|
||||
/* use a menu to choose new value for perminv_mode */
|
||||
retval = handler_perminv_mode();
|
||||
} else if (req == get_val) {
|
||||
/* value shown when examining current option settings; exclosed
|
||||
/* value shown when examining current option settings; enclosed
|
||||
within square brackets for 'O', shown as-is when setting value */
|
||||
Sprintf(opts, "%s", perminv_modes[iflags.perminv_mode][2]);
|
||||
if (iflags.perminv_mode != InvOptNone && !iflags.perm_invent
|
||||
|
||||
@@ -1744,7 +1744,7 @@ role_selection_prolog(int which, winid where)
|
||||
else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL)
|
||||
a = 1; /* aligns[neutral] */
|
||||
else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC)
|
||||
a = 2; /* alings[chaotic] */
|
||||
a = 2; /* aligns[chaotic] */
|
||||
}
|
||||
if (c >= 0) {
|
||||
assert(IndexOkT(c, races));
|
||||
@@ -1754,7 +1754,7 @@ role_selection_prolog(int which, winid where)
|
||||
else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL)
|
||||
a = 1; /* aligns[neutral] */
|
||||
else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC)
|
||||
a = 2; /* alings[chaotic] */
|
||||
a = 2; /* aligns[chaotic] */
|
||||
/* [c never forces gender] */
|
||||
}
|
||||
/* [g and a don't constrain anything sufficiently
|
||||
|
||||
@@ -1211,7 +1211,7 @@ freedynamicdata(void)
|
||||
freeroleoptvals(); /* saveoptvals(&tnhfp) */
|
||||
cmdq_clear(CQ_CANNED);
|
||||
cmdq_clear(CQ_REPEAT);
|
||||
free_tutorial(); /* (only needed if quiting while in tutorial) */
|
||||
free_tutorial(); /* (only needed if quitting while in tutorial) */
|
||||
|
||||
/* some pointers in iflags */
|
||||
if (iflags.wc_font_map)
|
||||
|
||||
@@ -2655,7 +2655,7 @@ init_standard_windows(void)
|
||||
XtSetArg(args[num_args], nhStr(XtNbottom), XtChainBottom); num_args++;
|
||||
XtSetValues(map_viewport, args, num_args);
|
||||
|
||||
/* Create the status window, with the form as it's parent. */
|
||||
/* Create the status window, with the form as its parent. */
|
||||
status_win = find_free_window();
|
||||
wp = &window_list[status_win];
|
||||
wp->cursx = wp->cursy = wp->pixel_width = wp->pixel_height = 0;
|
||||
|
||||
@@ -1192,7 +1192,7 @@ onDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||
data->menui.menu.items[lpdis->itemID].count);
|
||||
}
|
||||
|
||||
/* TOOD: add blinking for blink text */
|
||||
/* TODO: add blinking for blink text */
|
||||
|
||||
cached_font * blink_font = mswin_get_font(NHW_MENU, ATR_BLINK, lpdis->hDC, FALSE);
|
||||
SelectObject(lpdis->hDC, blink_font->hFont);
|
||||
|
||||
Reference in New Issue
Block a user