From 9c8f5895d541bf1144dc12845af13dea4c42153d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 8 Mar 2020 20:48:12 +0100 Subject: [PATCH] Version19.145.1 --- swad_game.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swad_game.c b/swad_game.c index 288754949..ff68ce69c 100644 --- a/swad_game.c +++ b/swad_game.c @@ -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",