Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /trunk/misc/bw/display.srp [r79] .. [r80] Maximize Restore

  Switch to side-by-side view

--- a/trunk/misc/bw/display.srp
+++ b/trunk/misc/bw/display.srp
@@ -35,7 +35,7 @@
         // use roster to print names and show state
         for entry at i in roster:
             x = 2 + SD_BW + (0 if i < bgd_height else SD_COL_WIDTH)
-            y = SD_Y + i * SD_GRID_SPACING
+            y = SD_Y + (i % bgd_height) * SD_GRID_SPACING
             draw_text(x, y, entry[0])
             if ord(play_state[i * 2 + 1]) > 0:
                 var p = ord(play_state[i * 2])