potracer 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/potracer/potracer.c +1 -1
- metadata +1 -1
data/ext/potracer/potracer.c
CHANGED
@@ -180,7 +180,7 @@ trace_as_array (VALUE klass)
|
|
180
180
|
}
|
181
181
|
rpath = rb_hash_new();
|
182
182
|
rb_hash_aset(rpath, STRSYM("area"), rb_int_new(path->area));
|
183
|
-
rb_hash_aset(rpath, STRSYM("sign"), rb_str_new2(path->
|
183
|
+
rb_hash_aset(rpath, STRSYM("sign"), rb_str_new2(path->sign == '+' ? "+" : "-"));
|
184
184
|
rb_hash_aset(rpath, STRSYM("parts"), rparts);
|
185
185
|
rb_ary_push(result, rpath);
|
186
186
|
path = path->next;
|