[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] Channel surfing broken in CVS?

Chris Cannam - Sun Aug 17 15:56:11 2003


I see.  That's what happens when you "fix" compiler warnings without 
thinking too hard about what the code's actually supposed to do.

Try this:

diff -u -r1.10 Channel.C
--- Channel.C   14 Aug 2003 13:07:12 -0000      1.10
+++ Channel.C   17 Aug 2003 13:54:53 -0000
@@ -20,8 +20,7 @@
 void WindowManager::flipChannel(Boolean statusOnly, Boolean flipDown,
                                Boolean quickFlip, Client *push)
 {
-    int x, y, sc;
-    size_t i;
+    int x, y, i, sc;
     if (!CONFIG_CHANNEL_SURF) return;

     for(sc = 0; sc < screensTotal(); sc++)


Chris



Next: