From 0c61dd94e7b1161da044ed966be568e7129cc2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 15 Jan 2017 02:36:00 +0100 Subject: [PATCH] Version 16.114.3 --- swad_changelog.h | 3 ++- swad_chat.c | 12 +----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index eb36a43ad..320ccad3f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -189,13 +189,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.114.1 (2017-01-15)" +#define Log_PLATFORM_VERSION "SWAD 16.114.3 (2017-01-15)" #define CSS_FILE "swad16.111.5.css" #define JS_FILE "swad16.114.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.114.3: Jan 15, 2017 Fixed bug in chat. (211412 lines) Version 16.114.2: Jan 15, 2017 Fixed bug in file browser. (211412 lines) Version 16.114.1: Jan 15, 2017 Fixed bug in string concatenation. (211411 lines) Version 16.114: Jan 14, 2017 Fixed bug in dates, reported by José Luis Bernier Villamor. diff --git a/swad_chat.c b/swad_chat.c index b2b864648..a95d1edc3 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -481,7 +481,6 @@ void Cht_OpenChatWindow (void) if (strcmp (RoomCode,ThisRoomCode)) { Str_Concat (ListRoomCodes,"|#",sizeof (ListRoomCodes) - 1); - Str_Concat (ListRoomCodes,ThisRoomCode,sizeof (ListRoomCodes) - 1); /* Get data of this degree */ @@ -489,15 +488,11 @@ void Cht_OpenChatWindow (void) Deg_GetDataOfDegreeByCod (&Deg); sprintf (ThisRoomShortName,"%s",Deg.ShrtName); - Str_Concat (ListRoomShortNames,"|",sizeof (ListRoomShortNames) - 1); - Str_Concat (ListRoomShortNames,ThisRoomShortName,sizeof (ListRoomShortNames) - 1); sprintf (ThisRoomFullName,"%s %s",Txt_Degree,Deg.ShrtName); - Str_Concat (ListRoomFullNames,"|",sizeof (ListRoomFullNames) - 1); - Str_Concat (ListRoomFullNames,ThisRoomFullName,sizeof (ListRoomFullNames) - 1); } } @@ -510,7 +505,6 @@ void Cht_OpenChatWindow (void) if (strcmp (RoomCode,ThisRoomCode)) { Str_Concat (ListRoomCodes,"|#",sizeof (ListRoomCodes) - 1); - Str_Concat (ListRoomCodes,ThisRoomCode,sizeof (ListRoomCodes) - 1); /* Get data of this course */ @@ -519,15 +513,11 @@ void Cht_OpenChatWindow (void) sprintf (ThisRoomShortName,"%s",Crs.ShrtName); Str_Concat (ListRoomShortNames,"|",sizeof (ListRoomShortNames) - 1); - Str_Concat (ListRoomShortNames,ThisRoomShortName,sizeof (ListRoomShortNames) - 1); - Str_Concat (ListRoomShortNames,"|",sizeof (ListRoomShortNames) - 1); - sprintf (ThisRoomFullName,"%s %s",Txt_Course,Crs.ShrtName); Str_Concat (ListRoomFullNames,"|",sizeof (ListRoomFullNames) - 1); - - Str_Concat (ListRoomFullNames,"|",sizeof (ListRoomFullNames) - 1); + Str_Concat (ListRoomFullNames,ThisRoomFullName,sizeof (ListRoomFullNames) - 1); } }