X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fsp-polygon.cpp;h=56cbfefdebe3d6582717c3ed65d223e001f4d9cf;hb=90a3d47dcee75fe9c7f0bc562ce19ed98a785e60;hp=8c853bcd6a4c2d02b838a7ef5b6f80d89948f3c5;hpb=c87d0307348fcfdc65b6b4ab6999a3cb0de2431f;p=inkscape.git diff --git a/src/sp-polygon.cpp b/src/sp-polygon.cpp index 8c853bcd6..56cbfefde 100644 --- a/src/sp-polygon.cpp +++ b/src/sp-polygon.cpp @@ -137,7 +137,7 @@ static Inkscape::XML::Node *sp_polygon_write(SPObject *object, Inkscape::XML::No } -static bool polygon_get_value(gchar const **p, gdouble *v) +static gboolean polygon_get_value(gchar const **p, gdouble *v) { while (**p != '\0' && (**p == ',' || **p == '\x20' || **p == '\x9' || **p == '\xD' || **p == '\xA')) { (*p)++; @@ -170,7 +170,7 @@ static void sp_polygon_set(SPObject *object, unsigned int key, const gchar *valu break; } SPCurve *curve = sp_curve_new(); - bool hascpt = FALSE; + gboolean hascpt = FALSE; gchar const *cptr = value; bool has_error = false;