]> granicus.if.org Git - nethack/commitdiff
Fix typo "promt"
authorPasi Kallinen <paxed@alt.org>
Sun, 30 Aug 2015 17:34:07 +0000 (20:34 +0300)
committerPasi Kallinen <paxed@alt.org>
Sun, 30 Aug 2015 17:34:07 +0000 (20:34 +0300)
win/tty/wintty.c
win/win32/mhmsgwnd.c

index e4c11571969dc86f46174b3985c6230b459701f9..105735d5fe5428b8b6ed05a3e8a42a6a5ad17ef8 100644 (file)
@@ -2660,7 +2660,7 @@ const char *prompt; /* prompt to for menu */
     /* Reverse the list so that items are in correct order. */
     cw->mlist = reverse(cw->mlist);
 
-    /* Put the promt at the beginning of the menu. */
+    /* Put the prompt at the beginning of the menu. */
     if (prompt) {
         anything any;
 
index 0d382464c3fdfa817aed2e59b6932eb89e982d1a..44ec7810377ba13f94b551c3e8e5a0b8ba14699f 100644 (file)
@@ -57,7 +57,7 @@ static BOOL can_append_text(HWND hWnd, int attr, const char *text);
 /* check if text can be appended to the last line without wrapping */
 
 static BOOL more_prompt_check(HWND hWnd);
-/* check if "--more--" promt needs to be displayed */
+/* check if "--more--" prompt needs to be displayed */
 
 #ifdef USER_SOUNDS
 extern void play_sound_for_message(const char *str);
@@ -796,7 +796,7 @@ can_append_text(HWND hWnd, int attr, const char *text)
     return retval;
 }
 
-/* check if "--more--" promt needs to be displayed
+/* check if "--more--" prompt needs to be displayed
    basically, check if the lines not seen are going to find in the message
    window
 */