From 9672d39e13f1551af42f77477a811c85207e7fd8 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Wed, 30 Apr 2003 23:27:31 +0000 Subject: [PATCH] fix U438 - text formatting "List of game options" from `? f' misaligns the entries for runmode and scroll_amount (at least for tty display). Shorten their descriptions so that they fit without squeezing out spaces. --- doc/fixes34.2 | 1 + src/options.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/fixes34.2 b/doc/fixes34.2 index ee63c51b6..2fb3e4e6e 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -47,6 +47,7 @@ fix were changing message that wasn't being displayed immediate encumbrance feedback when removing gauntlets of power make deliberately flying down the Castle's trap doors consistent with falling give more explicit feedback for exploding bag of holding +help display for "list of game options" misformats runmode and scroll_amount Platform- and/or Interface-Specific Fixes diff --git a/src/options.c b/src/options.c index bec56a70f..25771d082 100644 --- a/src/options.c +++ b/src/options.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)options.c 3.4 2003/01/08 */ +/* SCCS Id: @(#)options.c 3.4 2003/04/30 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -291,11 +291,11 @@ static struct Comp_Opt PL_CSIZ, DISP_IN_GAME }, { "role", "your starting role (e.g., Barbarian, Valkyrie)", PL_CSIZ, DISP_IN_GAME }, - { "runmode", "display updating frequency when `running' or `travelling'", + { "runmode", "display frequency when `running' or `travelling'", sizeof "teleport", SET_IN_GAME }, { "scores", "the parts of the score list you wish to see", 32, SET_IN_GAME }, - { "scroll_amount", "scroll the map this amount when scroll_margin is reached", + { "scroll_amount", "amount to scroll map when scroll_margin is reached", 20, DISP_IN_GAME }, /*WC*/ { "scroll_margin", "scroll map when this far from the edge", 20, DISP_IN_GAME }, /*WC*/ #ifdef MSDOS -- 2.40.0