From 5cc69f618f276682f57901cc3b7df1e2e48083e9 Mon Sep 17 00:00:00 2001 From: JucaBlues Date: Tue, 10 Jun 2008 02:33:43 +0000 Subject: [PATCH] fix compile johan had forgotten to include a header --- src/display/nr-svgfonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/display/nr-svgfonts.cpp b/src/display/nr-svgfonts.cpp index 42b321c8d..143b02188 100644 --- a/src/display/nr-svgfonts.cpp +++ b/src/display/nr-svgfonts.cpp @@ -12,7 +12,7 @@ * Read the file 'COPYING' for more information. */ -#include +#include #include <2geom/pathvector.h> #include <2geom/transforms.h> #include "../style.h" @@ -160,7 +160,7 @@ SvgFont::scaled_font_text_to_glyphs (cairo_scaled_font_t *scaled_font, while(_utf8[0] != '\0'){ len = 0; for (i=0; i < (unsigned long) this->glyphs.size(); i++){ - if ( len = compare_them(this->glyphs[i]->unicode, _utf8) ){ + if ( (len = compare_them(this->glyphs[i]->unicode, _utf8)) ){ //check whether is there a glyph declared on the SVG document // that matches with the text string in its current position for(SPObject* node = this->font->children;previous_unicode && node;node=node->next){ -- 2.30.2