ref: 5c67d1312e8355f5ba54df67de9131fe9d59a2b7
parent: 943b02ec75ac3d6f1ae4a6bb6ce3e0e297d33955
author: qwx <[email protected]>
date: Wed Apr 21 17:23:35 EDT 2021
grp: output grp canvas width and height, for use in offset calculations
--- a/utils/grp.c
+++ b/utils/grp.c
@@ -273,7 +273,9 @@
bufp = buf;
}
}
- if(!split){
+ if(split)
+ print("%d %d\n", maxx, maxy);
+ else{
Bprint(bo, "%11s %11d %11d %11d %11d ", c, 0, 0, maxx, maxy * ni);
Bwrite(bo, buf, bufp - buf);
Bterm(bo);