mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Fixed disabled filters zeroing.
This commit is contained in:
parent
2cebe2577f
commit
eba2e3ba43
4
setup.c
4
setup.c
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: setup.c,v 1.28 2007/10/09 16:37:16 rahrenbe Exp $
|
* $Id: setup.c,v 1.29 2007/10/10 20:54:58 rahrenbe Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -630,7 +630,7 @@ eOSState cIptvPluginSetup::ProcessKey(eKeys Key)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((Key != kNone) && ((numDisabledFilters != oldNumDisabledFilters) || (sectionFiltering != oldsectionFiltering))) {
|
if ((Key != kNone) && ((numDisabledFilters != oldNumDisabledFilters) || (sectionFiltering != oldsectionFiltering))) {
|
||||||
while (numDisabledFilters && (numDisabledFilters < oldNumDisabledFilters))
|
while ((numDisabledFilters < oldNumDisabledFilters) && (oldNumDisabledFilters > 0))
|
||||||
disabledFilterIndexes[--oldNumDisabledFilters] = -1;
|
disabledFilterIndexes[--oldNumDisabledFilters] = -1;
|
||||||
Setup();
|
Setup();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user