[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/kdecore
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-03-17 14:13:14
Message-ID: 1205763194.114929.27210.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 786635 by lunakl:

Fix error that leads to skipping the last icon in the set (bnc:371677).



 M  +1 -1      netwm.cpp  


--- branches/KDE/3.5/kdelibs/kdecore/netwm.cpp #786634:786635
@@ -512,7 +512,7 @@
     CARD32 *data32;
     unsigned long i, j, k, sz, s;
     unsigned long *d = (unsigned long *) buffer;
-    for (i = 0, j = 0; i < bufsize; i++) {
+    for (i = 0, j = 0; i < bufsize;) {
 	icons[j].size.width = *d++;
 	i += sizeof(long);
 	icons[j].size.height = *d++;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic