summaryrefslogtreecommitdiff
path: root/test/blocks.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-05-20 16:18:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-05-20 16:18:31 +0000
commitd8c288df3e51f156e9900313ec33b3d4c8ae3f84 (patch)
tree8b01921f52c6e04a28aa735a3fc05141c5de4c09 /test/blocks.cxx
parent56a50b9f0e7d47cfda34afe7e19dd51c08e3d9ba (diff)
Fix compiler warnings/errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/blocks.cxx')
-rw-r--r--test/blocks.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx
index 6c828c04d..90707cc34 100644
--- a/test/blocks.cxx
+++ b/test/blocks.cxx
@@ -738,7 +738,7 @@ BlockWindow::handle(int event) {
mx = w() - Fl::event_x() + BLOCK_SIZE;
my = h() - Fl::event_y();
count = 0;
- b = c->blocks;
+ b = 0;
for (j = 0, c = columns_; !count && j < num_columns_; j ++, c ++)
for (k = 0, b = c->blocks; !count && k < c->num_blocks; k ++, b ++)