#!/bin/sh /usr/share/dpatch/dpatch-run ## mlcd-1.3.18 patch by Thomas Günther ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Changes for VDR >= 1.3.18. @DPATCH@ --- mlcd-0.0.4/multilcd.c +++ mlcd-0.0.4/multilcd.c @@ -460,7 +460,11 @@ if (Total > 0 && Current <= Total) { ProgressValue = lround((Current*100)/Total); +#if VDRVERSNUM >= 10318 + snprintf(line1,11,"%10s",*IndexToHMSF(Current,false)); +#else snprintf(line1,11,"%10s",IndexToHMSF(Current,false)); +#endif } }