summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-04 22:23:00 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-04 22:23:00 +0100
commit9bb971f7a2b2d6e52056301f36a40ec40aaec5fa (patch)
treefbf2dd5ae6fdf5afc0cb0f736d1fef03205a7b41
parent73050d01c0f2672544be3e18d22a59b53cff6765 (diff)
downloadgmathlib-9bb971f7a2b2d6e52056301f36a40ec40aaec5fa.tar.gz
gmathlib-9bb971f7a2b2d6e52056301f36a40ec40aaec5fa.tar.bz2
* Allow rendering NULL symbols as empty symbols
-rw-r--r--cairo/gmathcairo_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cairo/gmathcairo_utils.c b/cairo/gmathcairo_utils.c
index e5f8a05..a183ef2 100644
--- a/cairo/gmathcairo_utils.c
+++ b/cairo/gmathcairo_utils.c
@@ -114,9 +114,6 @@ gmathcairo_render_empty (GMathCairoContext *ccontext, GMathSymbol *symbol,
double dash[] = {1.5 * EMPTY_LINE_WIDTH};
- if (!symbol || !symbol->value)
- return NULL;
-
gmathcairo_get_layout_and_size (ccontext, " ", size,
&layout, &width, &height);