summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-06-10 02:33:43 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-06-10 02:33:43 +0000
commitd525b2944e131fb3942f73c8d3c03be5b45e8f57 (patch)
tree3e114f830ad7c631915b5c6503150bdf70c4d440 /src
parentupdated slightly (diff)
downloadinkscape-d525b2944e131fb3942f73c8d3c03be5b45e8f57.tar.gz
inkscape-d525b2944e131fb3942f73c8d3c03be5b45e8f57.zip
fix compile
johan had forgotten to include a header (bzr r5869)
Diffstat (limited to 'src')
-rw-r--r--src/display/nr-svgfonts.cpp4
1 files 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 <libnr/n-art-bpath.h>
+#include <libnr/n-art-bpath-2geom.h>
#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){