forked from github/server
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:
parent
f95549a91a
commit
d9a0bc7016
|
@ -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;
|
int nx = r->x, ny = r->y;
|
||||||
pnormalize(&nx, &ny, pl);
|
pnormalize(&nx, &ny, pl);
|
||||||
adjust_coordinates(report, &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 0;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue