~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to src/sp-polygon.cpp

  • Committer: kidproto
  • Date: 2006-08-25 07:03:19 UTC
  • Revision ID: kidproto@users.sourceforge.net-20060825070319-49nso3fdlwuveifv
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
}
138
138
 
139
139
 
140
 
static bool polygon_get_value(gchar const **p, gdouble *v)
 
140
static gboolean polygon_get_value(gchar const **p, gdouble *v)
141
141
{
142
142
    while (**p != '\0' && (**p == ',' || **p == '\x20' || **p == '\x9' || **p == '\xD' || **p == '\xA')) {
143
143
        (*p)++;
170
170
                break;
171
171
            }
172
172
            SPCurve *curve = sp_curve_new();
173
 
            bool hascpt = FALSE;
 
173
            gboolean hascpt = FALSE;
174
174
 
175
175
            gchar const *cptr = value;
176
176
            bool has_error = false;