[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: o_text.c
User: cnieves
Date: 06/10/23 16:23:52
Modified: . o_text.c
Log:
* src/o_text.c: Changed polarity of one of the sanity checks
in the o_text_draw function added on 2006-10-21.
Revision Changes Path
1.24 +1 -1 eda/geda/gaf/gschem/src/o_text.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_text.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_text.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- o_text.c 21 Oct 2006 18:53:23 -0000 1.23
+++ o_text.c 23 Oct 2006 20:23:52 -0000 1.24
@@ -197,7 +197,7 @@
int small_dist, offset;
g_return_if_fail (o_current != NULL);
- g_return_if_fail (o_current->type != OBJ_TEXT);
+ g_return_if_fail (o_current->type == OBJ_TEXT);
g_return_if_fail (o_current->text != NULL);
if (o_current->visibility == INVISIBLE && !w_current->show_hidden_text) {
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs