From 751d53f2edf62ef8b2d24744d2d7c44676547b63 Mon Sep 17 00:00:00 2001 From: speleo3 Date: Thu, 11 Dec 2008 23:01:43 +0000 Subject: [PATCH] bug #166885 (preserveAspectRatio="none" misinterpreted) --- src/marker.cpp | 2 +- src/sp-image.cpp | 2 +- src/sp-root.cpp | 2 +- src/sp-symbol.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/marker.cpp b/src/marker.cpp index 37cb8223c..5b3267257 100644 --- a/src/marker.cpp +++ b/src/marker.cpp @@ -323,7 +323,7 @@ sp_marker_set (SPObject *object, unsigned int key, const gchar *value) } clip = SP_ASPECT_MEET; while (*e && *e == 32) e += 1; - if (e) { + if (*e) { if (!strcmp (e, "meet")) { clip = SP_ASPECT_MEET; } else if (!strcmp (e, "slice")) { diff --git a/src/sp-image.cpp b/src/sp-image.cpp index 558fa4157..be4d37909 100644 --- a/src/sp-image.cpp +++ b/src/sp-image.cpp @@ -764,7 +764,7 @@ sp_image_set (SPObject *object, unsigned int key, const gchar *value) } clip = SP_ASPECT_MEET; while (*e && *e == 32) e += 1; - if (e) { + if (*e) { if (!strcmp (e, "meet")) { clip = SP_ASPECT_MEET; } else if (!strcmp (e, "slice")) { diff --git a/src/sp-root.cpp b/src/sp-root.cpp index 80c04c59f..9c9fdb207 100644 --- a/src/sp-root.cpp +++ b/src/sp-root.cpp @@ -322,7 +322,7 @@ sp_root_set(SPObject *object, unsigned int key, gchar const *value) } clip = SP_ASPECT_MEET; while (*e && *e == 32) e += 1; - if (e) { + if (*e) { if (!strcmp(e, "meet")) { clip = SP_ASPECT_MEET; } else if (!strcmp(e, "slice")) { diff --git a/src/sp-symbol.cpp b/src/sp-symbol.cpp index 8be53dd50..5525513c1 100644 --- a/src/sp-symbol.cpp +++ b/src/sp-symbol.cpp @@ -214,7 +214,7 @@ sp_symbol_set (SPObject *object, unsigned int key, const gchar *value) } clip = SP_ASPECT_MEET; while (*e && *e == 32) e += 1; - if (e) { + if (*e) { if (!strcmp (e, "meet")) { clip = SP_ASPECT_MEET; } else if (!strcmp (e, "slice")) { -- 2.30.2