Fixed missing '&' in the SetAreas() example in PLUGINS.html

This commit is contained in:
Klaus Schmidinger 2005-11-04 14:25:00 +01:00
parent 52f17c043b
commit fdfcfc021b
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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).

View File

@ -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 },