summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-11-04 14:25:00 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-11-04 14:25:00 +0100
commitfdfcfc021b593aee659567ecc251a33ee609d9ab (patch)
tree2e5a7735b6abf00f87c65d6e456a59757e2e6dfc
parent52f17c043b6cc124b5745c4b8b32eea4b8c4efab (diff)
downloadvdr-fdfcfc021b593aee659567ecc251a33ee609d9ab.tar.gz
vdr-fdfcfc021b593aee659567ecc251a33ee609d9ab.tar.bz2
Fixed missing '&' in the SetAreas() example in PLUGINS.html
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--PLUGINS.html4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 26d54428..3c2b9a73 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -793,6 +793,7 @@ Sascha Volkenandt <sascha@akv-soft.de>
being written to by a timer
for fixing a crash in cConfig::Load() when compiling on the PPC
for reporting '\n' in an esyslog() call in osd.c
+ for reporting missing '&' in the SetAreas() example in PLUGINS.html
Malcolm Caldwell <malcolm.caldwell@ntu.edu.au>
for modifying LOF handling to allow for C-band reception
diff --git a/HISTORY b/HISTORY
index 448c6649..6aa320b0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3920,3 +3920,5 @@ Video Disk Recorder Revision History
- A menu is no longer automatically closed when a replay ends (reported by
Marko Mäkelä).
- Removed '\n' from several syslog() calls (reported by Sascha Volkenandt).
+- Fixed missing '&' in the SetAreas() example in PLUGINS.html (reported by
+ Sascha Volkenandt).
diff --git a/PLUGINS.html b/PLUGINS.html
index 12317cc3..d1c787b3 100644
--- a/PLUGINS.html
+++ b/PLUGINS.html
@@ -1476,7 +1476,7 @@ yet, so you need to at least call the function
<p><table><tr><td bgcolor=#F0F0F0><pre>
tArea Area = { 0, 0, 100, 100, 4 };
-MyOsd-&gt;SetAreas(Area, 1);
+MyOsd-&gt;SetAreas(&amp;Area, 1);
</pre></td></tr></table><p>
to define an actual OSD drawing area (see VDR/osd.h for the declarations
@@ -1496,7 +1496,7 @@ sub-areas with different color depths and separate color palettes, as in
<p><table><tr><td bgcolor=#F0F0F0><pre>
tArea Area = { 0, 0, 99, 99, 4 };
if (osd-&gt;CanHandleAreas(Area, 1) == oeOk)
- osd-&gt;SetAreas(Area, 1);
+ osd-&gt;SetAreas(&amp;Area, 1);
else {
tArea Areas[] = { { 0, 0, 99, 19, 2 },
{ 0, 20, 99, 79, 2 },