fflush(debugFD);
}
- /* get frame dimensions, it must be atleast 80x10 for any sensible output*/
+ /* get frame dimensions, it must be atleast 80x12 for any sensible output*/
WOP_GETDIMENSIONS(ovwFrame->window,&frameDims);
maxX = frameDims.maxx;
maxY = frameDims.maxy;
- if (maxX < MINX || maxY < MINY) {
- sprintf(errMsg1,"[ %s ] Window size must be atleaset 80x12\n",
- rn);
+ if (maxX + 1 < MINX || maxY + 1 < MINY) {
+ sprintf(errMsg1,"[ %s ] Window size %dx%d; must be at least 80x12\n",
+ rn, maxX + 1, maxY + 1);
return(-1);
}
if (afsmon_debug)