summaryrefslogtreecommitdiff
path: root/PLUGINS.html
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 /PLUGINS.html
parent52f17c043b6cc124b5745c4b8b32eea4b8c4efab (diff)
downloadvdr-fdfcfc021b593aee659567ecc251a33ee609d9ab.tar.gz
vdr-fdfcfc021b593aee659567ecc251a33ee609d9ab.tar.bz2
Fixed missing '&' in the SetAreas() example in PLUGINS.html
Diffstat (limited to 'PLUGINS.html')
-rw-r--r--PLUGINS.html4
1 files changed, 2 insertions, 2 deletions
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 },