--- /home/pitdicker/Downloads/librsvg-2.35.2/rsvg-path.c
+++ /home/pitdicker/Downloads/librsvg-2.35.2/rsvg-path.patch.c
@@ -609,10 +609,11 @@
             if (!in_num) {
                 in_frac = TRUE;
                 val = 0;
+                sign = 1;
             }
             else if (in_frac) {
                 rsvg_path_end_of_number(ctx, val, sign, exp_sign, exp);
-                in_frac = FALSE;
+                in_frac = TRUE;
                 in_exp = FALSE;
                 exp = 0;
                 exp_sign = 1;
