changeset 8767:e497d7e42d8a

fix xv window position problem
author attila
date Sat, 04 Jan 2003 13:11:18 +0000
parents 50ffffd0bc18
children 44b7d4c7e61c
files libvo/geometry.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/geometry.c	Sat Jan 04 11:52:17 2003 +0000
+++ b/libvo/geometry.c	Sat Jan 04 13:11:18 2003 +0000
@@ -35,7 +35,6 @@
 		   sscanf(vo_geometry, "%i%%:%i%%", &xper, &yper) != 2 &&
 		   sscanf(vo_geometry, "%i%%", &xper) != 1)
 			return geometry_error();
-        }
 
 	if(xper >= 0 && xper <= 100) xoff = (scrw - vidw) * ((float)xper / 100.0);
 	if(yper >= 0 && yper <= 100) yoff = (scrh - vidh) * ((float)yper / 100.0);
@@ -50,6 +49,7 @@
 	if(ypos) *ypos = yoff;
 	if(pwidth) *pwidth = width;
 	if(pheight) *pheight = height;
+        }
 	return 1;
 }