From d9a0bc701684b62083631f82278a454a0650e7ab Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 29 Aug 2020 10:43:42 +0200 Subject: [PATCH] undo the crazy region_id hack. accept that the CR is what it is, and it has a coordinate type. --- src/creport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/creport.c b/src/creport.c index 2a7e3c993..9776c4d76 100644 --- a/src/creport.c +++ b/src/creport.c @@ -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;