summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/geometry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/geometry.c b/libvo/geometry.c
index 9d60ada29f..4bc08f811d 100644
--- a/libvo/geometry.c
+++ b/libvo/geometry.c
@@ -40,7 +40,7 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh)
int width, height, xoff, yoff, xper, yper;
int i;
int ok = 0;
- for (i = 0; !ok && i < 8; i++) {
+ for (i = 0; !ok && i < 9; i++) {
width = height = xoff = yoff = xper = yper = INT_MIN;
strcpy(xsign, "+");
strcpy(ysign, "+");
@@ -72,6 +72,9 @@ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh)
case 7:
ok = sscanf(vo_geometry, "%i%1[%]%c", &xper, dummy, dummy) == 2;
break;
+ case 8:
+ ok = sscanf(vo_geometry, "%i%c", &xoff, dummy) == 1;
+ break;
}
}
if (!ok) {