diff options
| author | Jon Phillips <jon@fabricatorz.com> | 2006-08-25 07:03:19 +0000 |
|---|---|---|
| committer | kidproto <kidproto@users.sourceforge.net> | 2006-08-25 07:03:19 +0000 |
| commit | 5d6f51f32ca2356b0d6155015457a83e60b314e8 (patch) | |
| tree | 835131f8041d12103ea82dc6b23917443f61cd42 /src/sp-polygon.cpp | |
| parent | I peeled back my changes because of some deep error. (diff) | |
| download | inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.tar.gz inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.zip | |
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools
(bzr r1637)
Diffstat (limited to 'src/sp-polygon.cpp')
| -rw-r--r-- | src/sp-polygon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
