mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 02:30:11 +01:00
Fix inverted sense of assert statement which led to lots of unpleasant crashes.
This commit is contained in:
parent
ba9cb14cdf
commit
56d299d277
3 changed files with 11 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-08-11 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairo-font.c (_cairo_toy_font_face_fini): Fix inverted sense
|
||||
of assert statement which led to lots of unpleasant crashes.
|
||||
|
||||
2005-08-08 Carl Worth <cworth@cworth.org>
|
||||
|
||||
* src/cairoint.h: Add hash_entry field to cairo_font_face_t so
|
||||
|
|
|
|||
|
|
@ -366,4 +366,9 @@ cairo_set_target_quartz
|
|||
cairo_set_target_win32
|
||||
cairo_set_target_xcb
|
||||
cairo_set_target_drawable
|
||||
CAIRO_VERSION
|
||||
CAIRO_VERSION_STRING
|
||||
CAIRO_VERSION_ENCODE
|
||||
cairo_version
|
||||
cairo_version_string
|
||||
</SECTION>
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ _cairo_toy_font_face_fini (cairo_toy_font_face_t *font_face)
|
|||
{
|
||||
/* 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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue