$Log$
+Revision 500.2 2003/06/20 03:39:27 ajc
+* Optimization to floor layout in box view
+
Revision 500.1 2003/06/20 03:04:26 ajc
* "Reply" button on messages now handles IGnet recipients correctly
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
static int columns = 3;
int boxes_per_column = 0;
int current_column = 0;
+ int nf;
- boxes_per_column = (num_floors / columns);
+ nf = num_floors;
+ while (nf % columns != 0) ++nf;
+ boxes_per_column = (nf / columns);
if (boxes_per_column < 1) boxes_per_column = 1;
/* Outer table (for columnization) */