[cairo-commit] cairo/src cairo-font.c,1.67,1.68
Carl Worth
commit at pdx.freedesktop.org
Thu Aug 11 16:52:46 PDT 2005
Committed by: cworth
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv21526/src
Modified Files:
cairo-font.c
Log Message:
2005-08-11 Carl Worth <cworth at cworth.org>
* src/cairo-font.c (_cairo_toy_font_face_fini): Fix inverted sense
of assert statement which led to lots of unpleasant crashes.
Index: cairo-font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-font.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- cairo-font.c 11 Aug 2005 21:59:29 -0000 1.67
+++ cairo-font.c 11 Aug 2005 23:52:44 -0000 1.68
@@ -289,7 +289,7 @@
{
/* We assert here that we own font_face->family before casting
* away the const qualifer. */
- assert (! font_face->owns_family);
+ assert (font_face->owns_family);
free ((char*) font_face->family);
}
More information about the cairo-commit
mailing list