Menu

#2 control interface, center command falls through

open
nobody
None
5
2005-01-08
2005-01-08
Cheetah
No

When issuing an alignment command to center a given
thing, it falls through and sets the shadow offset too.
The offending code is at src/osdsh/utils.c, starting
at line 47.

case 'c':
setts->align = XOSD_center;
if
(setts->displaying&&xosd_set_align(setts->myosd,
XOSD_center))
fprintf(stderr, "Couldn't change align\n");
case 'o':

There needs to be a "break;" before the "case 'o':".

Discussion


Log in to post a comment.