summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-path.cpp
diff options
context:
space:
mode:
authorJon Phillips <jon@fabricatorz.com>2006-08-23 07:08:06 +0000
committerkidproto <kidproto@users.sourceforge.net>2006-08-23 07:08:06 +0000
commit10880dbfba9afd5a963f5bb36fe9a3707c1c35a1 (patch)
tree7a73cfffbb81131a0dfb9c6d799325e363615e8a /src/svg/svg-path.cpp
parentUpdated his name and copyright info... (diff)
downloadinkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.tar.gz
inkscape-10880dbfba9afd5a963f5bb36fe9a3707c1c35a1.zip
Ok, committed msgloan's patch to convert gbooleans to bools thus completing
one major janitorial task we identified.... (bzr r1633)
Diffstat (limited to 'src/svg/svg-path.cpp')
-rw-r--r--src/svg/svg-path.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index 6598a5731..b37814164 100644
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -63,7 +63,7 @@ struct RSVGParsePathCtx {
double spx, spy; /* beginning of current subpath point */
char cmd; /* current command (lowercase) */
int param; /* parameter number */
- gboolean rel; /* true if relative coords */
+ bool rel; /* true if relative coords */
double params[7]; /* parameters that have been parsed */
};
@@ -221,7 +221,7 @@ static void rsvg_parse_path_default_xy(RSVGParsePathCtx *ctx, int n_params)
}
}
-static void rsvg_parse_path_do_cmd(RSVGParsePathCtx *ctx, gboolean final)
+static void rsvg_parse_path_do_cmd(RSVGParsePathCtx *ctx, bool final)
{
double x1, y1, x2, y2, x3, y3;
@@ -455,10 +455,10 @@ static void rsvg_parse_path_data(RSVGParsePathCtx *ctx, const char *data)
int i = 0;
double val = 0;
char c = 0;
- gboolean in_num = FALSE;
- gboolean in_frac = FALSE;
- gboolean in_exp = FALSE;
- gboolean exp_wait_sign = FALSE;
+ bool in_num = FALSE;
+ bool in_frac = FALSE;
+ bool in_exp = FALSE;
+ bool exp_wait_sign = FALSE;
int sign = 0;
int exp = 0;
int exp_sign = 0;