From 4bd6d6559ff530f6fc39d4e60ed4f259f401e0ac Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Mar 2019 16:15:51 +0100 Subject: [PATCH] Fixed sorting recordings alphabetically --- HISTORY | 3 ++- recording.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HISTORY b/HISTORY index 21315b2c..584c5e2e 100644 --- a/HISTORY +++ b/HISTORY @@ -9348,7 +9348,7 @@ Video Disk Recorder Revision History Senzel). - Official release. -2019-03-15: Version 2.4.1 +2019-03-17: Version 2.4.1 - Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported by Johann Friedrichs). @@ -9385,3 +9385,4 @@ Video Disk Recorder Revision History are not currently broadcasting. - Fixed processing SI::T2DeliverySystemDescriptor when typecasting it over an SI::ExtensionDescriptor (reported by Helmut Binder). +- Fixed sorting recordings alphabetically. diff --git a/recording.c b/recording.c index 0cf265cb..63f6a860 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 4.22 2018/03/17 10:56:13 kls Exp $ + * $Id: recording.c 4.23 2019/03/17 16:01:13 kls Exp $ */ #include "recording.h" @@ -1022,9 +1022,9 @@ int cRecording::Compare(const cListObject &ListObject) const { cRecording *r = (cRecording *)&ListObject; if (Setup.RecSortingDirection == rsdAscending) - return strcasecmp(SortName(), r->SortName()); + return strcmp(SortName(), r->SortName()); else - return strcasecmp(r->SortName(), SortName()); + return strcmp(r->SortName(), SortName()); } bool cRecording::IsInPath(const char *Path) const