Version19.145.1

This commit is contained in:
Antonio Cañas Vargas 2020-03-08 20:48:12 +01:00
parent 22ff1aca86
commit 9c8f5895d5
1 changed files with 4 additions and 4 deletions

View File

@ -137,13 +137,13 @@ static void Gam_GetGameTxtFromDB (long GamCod,char Txt[Cns_MAX_BYTES_TEXT + 1]);
static void Gam_RemoveGameFromAllTables (long GamCod);
static bool Gam_CheckIfSimilarGameExists (struct Game *Game);
static bool Gam_CheckIfSimilarGameExists (const struct Game *Game);
static void Gam_PutFormsEditionGame (struct Game *Game,
char Txt[Cns_MAX_BYTES_TEXT + 1],
bool ItsANewGame);
static bool Gam_ReceiveGameFieldsFromForm (struct Game *Game,
char Txt[Cns_MAX_BYTES_TEXT + 1]);
static void Gam_ReceiveGameFieldsFromForm (struct Game *Game,
char Txt[Cns_MAX_BYTES_TEXT + 1]);
static bool Gam_CheckGameFieldsReceivedFromForm (const struct Game *Game);
static void Gam_CreateGame (struct Game *Game,const char *Txt);
@ -1242,7 +1242,7 @@ void Gam_UnhideGame (void)
/******************* Check if the title of a game exists *******************/
/*****************************************************************************/
static bool Gam_CheckIfSimilarGameExists (struct Game *Game)
static bool Gam_CheckIfSimilarGameExists (const struct Game *Game)
{
/***** Get number of games with a field value from database *****/
return (DB_QueryCOUNT ("can not get similar games",