From fdfcfc021b593aee659567ecc251a33ee609d9ab Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 4 Nov 2005 14:25:00 +0100 Subject: Fixed missing '&' in the SetAreas() example in PLUGINS.html --- PLUGINS.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PLUGINS.html') 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

 tArea Area = { 0, 0, 100, 100, 4 };
-MyOsd->SetAreas(Area, 1);
+MyOsd->SetAreas(&Area, 1);
 

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

 tArea Area = { 0, 0, 99, 99, 4 };
 if (osd->CanHandleAreas(Area, 1) == oeOk)
-   osd->SetAreas(Area, 1);
+   osd->SetAreas(&Area, 1);
 else {
    tArea Areas[] = { { 0,  0, 99, 19, 2 },
                      { 0, 20, 99, 79, 2 },
-- 
cgit v1.2.3