]> code.citadel.org Git - citadel.git/commitdiff
* roomops.c: Display one less floor in the first column in romlist view
authorMichael Hampton <io_error@uncensored.citadel.org>
Sat, 28 Jun 2003 03:35:24 +0000 (03:35 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sat, 28 Jun 2003 03:35:24 +0000 (03:35 +0000)
webcit/ChangeLog
webcit/roomops.c

index 27b1c214ecbbef508511a7091c94bf3f3c01ab13..04bf6c368029a2ccdbe2ee662803df02dac05212 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 500.5  2003/06/28 03:35:23  error
+* roomops.c: Display one less floor in the first column in romlist view
+
 Revision 500.4  2003/06/26 03:37:58  ajc
 * Allow anonymous HTTP requests for /freebusy/user%20name.vcf (or .vfb)
   This will allow some groupware clients to browse the free/busy times of
@@ -1504,3 +1507,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 8f580df660c3fbe37214289de3fa88dbe52f78b3..e2a7702068c0623c374b99c572a293e2c1739c36 100644 (file)
@@ -1918,7 +1918,7 @@ void do_rooms_view(struct folder *fold, int max_folders, int num_floors) {
                        do_template("endbox");
 
                        ++num_boxes;
-                       if ((num_boxes % boxes_per_column) == 0) {
+                       if ((num_boxes % boxes_per_column) == boxes_per_column) {
                                ++current_column;
                                if (current_column < columns) {
                                        wprintf("</TD><TD VALIGN=TOP>\n");