some reformatting (1 of 4)
I recently realized that I've been editing sources in a terminal window that was widened in order to fit curses borders for testing something or other. That has resulted in some new wide lines in the source. There were lots of old ones too. This updates some source files to try to achieve the goal of 78 characters or less. As in the past, I've been inconsistent about lines with 79 characters. Lines with 80 or more have been wrapped or shortened (usually by trimming an end of line comment or removing redundant parantheses, sometimes just by reducing the indentation of the continuation portion of an already wrapped line). I eliminated one instance of warning manipulation for non-constant format string, and simplified stone_luck() where Ken had a silly comment about the function argument's name.
This commit is contained in:
@@ -94,7 +94,7 @@ resetobjs(struct obj *ochain, boolean restore)
|
||||
result depends upon hero's location */
|
||||
&& inside_shop(ox, oy)
|
||||
&& *(p = in_rooms(ox, oy, SHOPBASE))
|
||||
&& tended_shop(&svr.rooms[*p - ROOMOFFSET]));
|
||||
&& tended_shop(&svr.rooms[*p - ROOMOFFSET]));
|
||||
}
|
||||
} else { /* saving */
|
||||
/* do not zero out o_ids for ghost levels anymore */
|
||||
|
||||
Reference in New Issue
Block a user