1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/multimedia/vdr/files/patch-vdr-1.7.29-sortrectopmenu.diff
Juergen Lock 3e613ab153 - Update multimedia/vdr to 1.7.29 .
- Bump PORTREVISION for all plugins.
2012-07-22 09:25:07 +00:00

14 lines
758 B
Diff

--- recording.c 2012/06/09 13:57:30 2.57
+++ recording.c 2012/07/15 10:47:58
@@ -831,8 +831,8 @@
{
char **sb = (RecordingsSortMode == rsmName) ? &sortBufferName : &sortBufferTime;
if (!*sb) {
- char *s = (RecordingsSortMode == rsmName) ? strdup(FileName() + strlen(VideoDirectory) + 1)
- : StripEpisodeName(strdup(FileName() + strlen(VideoDirectory) + 1));
+ char *s = (RecordingsSortMode == rsmName) ? strdup(FileName() + strlen(VideoDirectory))
+ : StripEpisodeName(strdup(FileName() + strlen(VideoDirectory)));
strreplace(s, '/', 'a'); // some locales ignore '/' when sorting
int l = strxfrm(NULL, s, 0) + 1;
*sb = MALLOC(char, l);