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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/access
From:       Dave Rowe <dave () roweware ! com>
Date:       2006-03-19 19:11:54
Message-ID: 1142795514.672957.12801.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 520382 by drowe:

Forward port of crash bug fix in kaccess.cpp.  modifierKeys.name pointer is never 0.

 M  +1 -1      kaccess.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/access/kaccess.cpp #520381:520382
@@ -339,7 +339,7 @@
       keys [i] = -1;
    state = 0;
 
-   for (int i = 0; modifierKeys[i].name; i++) {
+   for (int i = 0; strcmp (modifierKeys[i].name, "") != 0; i++) {
       int mask = modifierKeys[i].mask;
       if (mask == 0)
          if (modifierKeys[i].keysym != 0)
[prev in list] [next in list] [prev in thread] [next in thread] 

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