From ccea93eb11f72fb1311f88ca7db6b1311c55ffbd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Oct 2005 14:06:40 +0100 Subject: [PATCH] Fixed the cFilter example in PLUGINS.html --- CONTRIBUTORS | 3 +++ HISTORY | 1 + PLUGINS.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 72d410df..3b399c1e 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1517,3 +1517,6 @@ Enrico Scholz Nicolas Huillard for translating OSD texts to the French language + +Patrick Fischer + for reporting an error in the cFilter example in PLUGINS.html diff --git a/HISTORY b/HISTORY index 0b6f3eb8..54d5c117 100644 --- a/HISTORY +++ b/HISTORY @@ -3909,3 +3909,4 @@ Video Disk Recorder Revision History per device or CAMs with more than one smart card. - Updated the Greek OSD texts (thanks to Dimitrios Dimitrakos). - Updated the French OSD texts (thanks to Nicolas Huillard). +- Fixed the cFilter example in PLUGINS.html (reported by Patrick Fischer). diff --git a/PLUGINS.html b/PLUGINS.html index c44e6523..12317cc3 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -1447,7 +1447,7 @@ An instance of such a filter needs to be attached to the device from which it shall receive data, as in

-cMyFilter Filter;
+cMyFilter *Filter = new cMyFilter();
 
 cDevice::ActualDevice()->AttachFilter(Filter);