summaryrefslogtreecommitdiffstats
path: root/src/sp-polygon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-polygon.cpp')
-rw-r--r--src/sp-polygon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-polygon.cpp b/src/sp-polygon.cpp
index 983a738ce..a5ddd653a 100644
--- a/src/sp-polygon.cpp
+++ b/src/sp-polygon.cpp
@@ -98,7 +98,7 @@ static gboolean polygon_get_value(gchar const **p, gdouble *v)
(*p)++;
}
- if (*p == '\0') {
+ if (**p == '\0') {
return false;
}