Project

General

Profile

Bug #796 ยป 0020-Correct-existant-to-existent.patch

Marko Lindqvist, 08/18/2024 01:37 PM

View differences:

client/packhand.c
struct voteinfo *vi;
vi = voteinfo_queue_find(vote_no);
fc_assert_ret_msg(NULL != vi,
"Got packet_vote_update for non-existant vote %d!",
"Got packet_vote_update for non-existent vote %d!",
vote_no);
vi->yes = yes;
......
struct voteinfo *vi;
vi = voteinfo_queue_find(vote_no);
fc_assert_ret_msg(NULL != vi,
"Got packet_vote_resolve for non-existant vote %d!",
"Got packet_vote_resolve for non-existent vote %d!",
vote_no);
vi->resolved = TRUE;
server/citytools.c
}
/************************************************************************//**
Removes outdated (nonexistant) cities from a player
Removes outdated (nonexistent) cities from a player
****************************************************************************/
void reality_check_city(struct player *pplayer, struct tile *ptile)
{
server/settings.c
Enumerator name accessors.
Important note about compatibility:
1) you cannot modify the support name of an existant value. However, in a
1) you cannot modify the support name of an existent value. However, in a
development, you can modify it if it wasn't included in any stable
branch before.
2) Take care of modifiying the pretty name of an existant value: make sure
to modify the help texts which are using it.
2) Take care of modifying the pretty name of an existent value: make sure
to modify the help texts which are using it.
****************************************************************************/
#define NAME_CASE(_val, _support, _pretty) \
    (1-1/1)