Index: cli.c =================================================================== --- cli.c (revision 31004) +++ cli.c (revision 31005) @@ -202,7 +202,7 @@ } memcpy(tmp, s, sep-s); tmp[sep-s] = '\0'; - dst[i-1].x = pcb_get_value_ex(tmp, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); + dst[i-1].x = rnd_get_value_ex(tmp, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); if (!succ) dst[i-1].invalid = 1; @@ -213,12 +213,12 @@ } memcpy(tmp, sep, next-sep); tmp[next-sep] = '\0'; - dst[i-1].y = pcb_get_value_ex(tmp, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); + dst[i-1].y = rnd_get_value_ex(tmp, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); if (!succ) dst[i-1].invalid = 1; break; case CLI_DIST: - dst[i-1].dist = pcb_get_value_ex(s, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); + dst[i-1].dist = rnd_get_value_ex(s, NULL, NULL, NULL, rnd_conf.editor.grid_unit->suffix, &succ); dst[i-1].invalid = !succ; dst[i-1].end = next - line; break; Index: constraint_gui.c =================================================================== --- constraint_gui.c (revision 31004) +++ constraint_gui.c (revision 31005) @@ -129,12 +129,12 @@ g2c_array(line_angle, strtod(curr, &end)); g2c_scalar(line_angle_mod, dbl); - g2c_array(line_length, pcb_get_value(curr, NULL, NULL, &succ)); + g2c_array(line_length, rnd_get_value(curr, NULL, NULL, &succ)); g2c_scalar(line_length_mod, crd); g2c_array(move_angle, strtod(curr, &end)); g2c_scalar(move_angle_mod, dbl); - g2c_array(move_length, pcb_get_value(curr, NULL, NULL, &succ)); + g2c_array(move_length, rnd_get_value(curr, NULL, NULL, &succ)); g2c_scalar(move_length_mod, crd); }