Commits

rmtew committed 885e739

Fixed new <esc> references to refer to the BACK_KEY_NAME define.

Comments (0)

Files changed (2)

BrogueCode/Items.c

             }
         }
 		theItem = promptForItemOfType((WEAPON|ARMOR|SCROLL|RING|POTION|STAFF|WAND|CHARM), ITEM_CAN_BE_IDENTIFIED, 0,
-									  KEYBOARD_LABELS ? "Call what? (a-z, shift for more info; or <esc> to cancel)" : "Call what?",
+									  KEYBOARD_LABELS ? "Call what? (a-z, shift for more info; or " BACK_KEY_NAME " to cancel)" : "Call what?",
                                       true);
         updateIdentifiableItems(); // Reset the flags.
 	}
 	
 	if (!theItem) {
 		theItem = promptForItemOfType((SCROLL|FOOD|POTION|STAFF|WAND|CHARM), 0, 0,
-									  KEYBOARD_LABELS ? "Apply what? (a-z, shift for more info; or <esc> to cancel)" : "Apply what?",
+									  KEYBOARD_LABELS ? "Apply what? (a-z, shift for more info; or " BACK_KEY_NAME " to cancel)" : "Apply what?",
                                       true);
 	}
 	

BrogueCode/Recordings.c

 	deleteMessages();
 	do {
 		askAgain = false;
-		if (getInputTextString(filePath, "Save game as (<esc> to cancel): ",
+		if (getInputTextString(filePath, "Save game as (" BACK_KEY_NAME " to cancel): ",
 							   BROGUE_FILENAME_MAX - strlen(GAME_SUFFIX), defaultPath, GAME_SUFFIX, TEXT_INPUT_FILENAME, false)) {
 			strcat(filePath, GAME_SUFFIX);
 			if (!fileExists(filePath) || confirm("File of that name already exists. Overwrite?", true)) {
 	deleteMessages();
 	do {
 		askAgain = false;
-		if (getInputTextString(filePath, "Save recording as (<esc> to cancel): ",
+		if (getInputTextString(filePath, "Save recording as (" BACK_KEY_NAME " to cancel): ",
 							   BROGUE_FILENAME_MAX - strlen(RECORDING_SUFFIX), defaultPath, RECORDING_SUFFIX, TEXT_INPUT_FILENAME, false)) {
 			
 			strcat(filePath, RECORDING_SUFFIX);