[wineconsole] Off by one in compression (1/4)

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

 



Changelog:
- The last event was not looked at when compressing console events


diff -ur wine-20031016/programs/wineconsole/wineconsole.c wine-my/programs/wineconsole/wineconsole.c
--- wine-20031016/programs/wineconsole/wineconsole.c	2003-10-15 23:01:05.000000000 +0200
+++ wine-my/programs/wineconsole/wineconsole.c	2003-10-22 15:41:03.000000000 +0200
@@ -234,7 +234,7 @@
     }
     /* step 2: manage update events */
     ev_found = -1;
-    for (i = 0; i < num - 1; i++)
+    for (i = 0; i < num; i++)
     {
 	if (evts[i].event == CONSOLE_RENDERER_NONE_EVENT) continue;
 	if (evts[i].event != CONSOLE_RENDERER_UPDATE_EVENT)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux