undo the crazy region_id hack.

accept that the CR is what it is, and it has a coordinate type.
This commit is contained in:
Enno Rehling 2020-08-29 10:43:42 +02:00
parent f95549a91a
commit d9a0bc7016
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ static int cr_region(variant var, const char *name, char *buffer, const void *us
int nx = r->x, ny = r->y;
pnormalize(&nx, &ny, pl);
adjust_coordinates(report, &nx, &ny, pl);
sprintf(buffer, "%d;%s_id\n%d %d %d;%s\n", r->uid, name, nx, ny, plane_id(pl), name);
sprintf(buffer, "%d %d %d;%s\n", nx, ny, plane_id(pl), name);
return 0;
}
return -1;