avoid the_your[] duplication

get rid of a duplication of the_your[] strings (do.c, trap.c) by
moving it to c_common_strings.
This commit is contained in:
nethack.allison
2003-09-15 02:04:00 +00:00
parent e2d75840b0
commit 5eff6601e9
4 changed files with 4 additions and 4 deletions

View File

@@ -289,7 +289,8 @@ E struct c_common_strings {
*const c_silly_thing_to, *const c_shudder_for_moment,
*const c_something, *const c_Something,
*const c_You_can_move_again,
*const c_Never_mind, *c_vision_clears;
*const c_Never_mind, *c_vision_clears,
*const c_the_your[2];
} c_common_strings;
#define nothing_happens c_common_strings.c_nothing_happens
#define thats_enough_tries c_common_strings.c_thats_enough_tries
@@ -300,6 +301,7 @@ E struct c_common_strings {
#define You_can_move_again c_common_strings.c_You_can_move_again
#define Never_mind c_common_strings.c_Never_mind
#define vision_clears c_common_strings.c_vision_clears
#define the_your c_common_strings.c_the_your
/* material strings */
E const char *materialnm[];