formatting fixup (1 of 2)
Replace instances of strings split across lines which rely on C89/C90 implicit concatenation of string literals to splice them together with single strings that are outdented relative to the code that uses them. It's uglier but it won't break compile for pre-ANSI compilers. This covers many files in src/ that only have one or two such split strings. There are several more files which have three or more. Those will eventually be '(2 of 2)'. Noticed along the way: the fake mail message/subject Report bugs to devteam@nethack.org. wasn't using its format string of "Report bugs to %s.", so would have just shown our email address. Doesn't anybody enable fake mail anymore? I modified that format to enclose the address within angle brackets and made a similar change for the 'contact' choice of the '?' command.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 wizard.c $NHDT-Date: 1433457074 2015/06/04 22:31:14 $ $NHDT-Branch: master $:$NHDT-Revision: 1.38 $ */
|
||||
/* NetHack 3.6 wizard.c $NHDT-Date: 1436753529 2015/07/13 02:12:09 $ $NHDT-Branch: master $:$NHDT-Revision: 1.39 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -77,8 +77,8 @@ amulet()
|
||||
if (mtmp->iswiz && mtmp->msleeping && !rn2(40)) {
|
||||
mtmp->msleeping = 0;
|
||||
if (distu(mtmp->mx, mtmp->my) > 2)
|
||||
You("get the creepy feeling that somebody noticed your "
|
||||
"taking the Amulet.");
|
||||
You(
|
||||
"get the creepy feeling that somebody noticed your taking the Amulet.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user