fix typos

This commit is contained in:
RainRat
2024-04-26 08:10:10 -04:00
committed by nhmall
parent 26c8cbc931
commit e7aaf8dc1c
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1665,7 +1665,7 @@ struct ext_func_tab extcmdlist[] = {
{ '>', "down", "go down a staircase", { '>', "down", "go down a staircase",
/* allows 'm' prefix (for move without autopickup) but not the /* allows 'm' prefix (for move without autopickup) but not the
g/G/F movement modifiers; not flagged as MOVEMENTCMD because 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 }, dodown, CMD_M_PREFIX, NULL },
{ 'd', "drop", "drop an item", { 'd', "drop", "drop an item",
dodrop, 0, NULL }, dodrop, 0, NULL },
+1 -1
View File
@@ -3000,7 +3000,7 @@ optfn_perminv_mode(
/* use a menu to choose new value for perminv_mode */ /* use a menu to choose new value for perminv_mode */
retval = handler_perminv_mode(); retval = handler_perminv_mode();
} else if (req == get_val) { } 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 */ within square brackets for 'O', shown as-is when setting value */
Sprintf(opts, "%s", perminv_modes[iflags.perminv_mode][2]); Sprintf(opts, "%s", perminv_modes[iflags.perminv_mode][2]);
if (iflags.perminv_mode != InvOptNone && !iflags.perm_invent if (iflags.perminv_mode != InvOptNone && !iflags.perm_invent
+2 -2
View File
@@ -1744,7 +1744,7 @@ role_selection_prolog(int which, winid where)
else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL) else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL)
a = 1; /* aligns[neutral] */ a = 1; /* aligns[neutral] */
else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC) else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC)
a = 2; /* alings[chaotic] */ a = 2; /* aligns[chaotic] */
} }
if (c >= 0) { if (c >= 0) {
assert(IndexOkT(c, races)); assert(IndexOkT(c, races));
@@ -1754,7 +1754,7 @@ role_selection_prolog(int which, winid where)
else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL) else if ((allowmask & ROLE_ALIGNMASK) == AM_NEUTRAL)
a = 1; /* aligns[neutral] */ a = 1; /* aligns[neutral] */
else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC) else if ((allowmask & ROLE_ALIGNMASK) == AM_CHAOTIC)
a = 2; /* alings[chaotic] */ a = 2; /* aligns[chaotic] */
/* [c never forces gender] */ /* [c never forces gender] */
} }
/* [g and a don't constrain anything sufficiently /* [g and a don't constrain anything sufficiently
+1 -1
View File
@@ -1211,7 +1211,7 @@ freedynamicdata(void)
freeroleoptvals(); /* saveoptvals(&tnhfp) */ freeroleoptvals(); /* saveoptvals(&tnhfp) */
cmdq_clear(CQ_CANNED); cmdq_clear(CQ_CANNED);
cmdq_clear(CQ_REPEAT); 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 */ /* some pointers in iflags */
if (iflags.wc_font_map) if (iflags.wc_font_map)
+1 -1
View File
@@ -2655,7 +2655,7 @@ init_standard_windows(void)
XtSetArg(args[num_args], nhStr(XtNbottom), XtChainBottom); num_args++; XtSetArg(args[num_args], nhStr(XtNbottom), XtChainBottom); num_args++;
XtSetValues(map_viewport, args, 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(); status_win = find_free_window();
wp = &window_list[status_win]; wp = &window_list[status_win];
wp->cursx = wp->cursy = wp->pixel_width = wp->pixel_height = 0; wp->cursx = wp->cursy = wp->pixel_width = wp->pixel_height = 0;
+1 -1
View File
@@ -1192,7 +1192,7 @@ onDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
data->menui.menu.items[lpdis->itemID].count); 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); cached_font * blink_font = mswin_get_font(NHW_MENU, ATR_BLINK, lpdis->hDC, FALSE);
SelectObject(lpdis->hDC, blink_font->hFont); SelectObject(lpdis->hDC, blink_font->hFont);