From f2658b832b9be896478497af5222070a2ee0ba91 Mon Sep 17 00:00:00 2001 From: acanas Date: Sun, 26 Dec 2021 22:46:56 +0100 Subject: [PATCH] Version 21.75.1: Dec 26, 2021 Fixed bug in icons. --- swad_changelog.h | 3 ++- swad_icon.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/swad_changelog.h b/swad_changelog.h index 3dc92a182..67e59a4e2 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -602,10 +602,11 @@ TODO: FIX BUG, URGENT! En las fechas como par TODO: En las encuestas, que los estudiantes no puedan ver los resultados hasta que no finalice el plazo. */ -#define Log_PLATFORM_VERSION "SWAD 21.75 (2021-12-26)" +#define Log_PLATFORM_VERSION "SWAD 21.75.1 (2021-12-26)" #define CSS_FILE "swad21.74.css" #define JS_FILE "swad21.67.4.js" /* + Version 21.75.1: Dec 26, 2021 Fixed bug in icons. (322479 lines) Version 21.75: Dec 26, 2021 Code refactoring related to links. (322477 lines) Version 21.74: Dec 26, 2021 Working on design of dark theme. Code refactoring related to links. (322483 lines) diff --git a/swad_icon.c b/swad_icon.c index 7eed99f13..36477b4e0 100644 --- a/swad_icon.c +++ b/swad_icon.c @@ -493,6 +493,7 @@ void Ico_PutSettingIconLink (const char *Icon,Ico_Color_t Color,const char *Titl if (asprintf (&Class,"ICO_HIGHLIGHT ICOx20 %s", Ico_ClassColor[Color][Gbl.Prefs.Theme]) < 0) + Err_NotEnoughMemoryExit (); HTM_INPUT_IMAGE (Cfg_URL_ICON_PUBLIC,Icon,Title,Class); free (Class); }