Branch: Tag:

2000-02-11

2000-02-11 10:46:05 by 0

Added sanity check for wacko guides which Gimp seem to add sometimes.

Rev: server/modules/graphics/gbutton.pike:1.28

25:   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.27 2000/02/10 10:57:50 jonasw Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.28 2000/02/11 10:46:05 jonasw Exp $";   constant thread_safe = 1;      #include <module.h>
181:    array x = ({});    array y = ({});    foreach( frame->get_misc_value( "image_guides" ), object g ) +  if( g->pos < 4096 )    if( g->vertical )    x += ({ g->pos });    else