you can crash in debug output too (CID 1520)
svn path=/trunk/KDE/kdebase/workspace/; revision=534313
This commit is contained in:
parent
84aa519239
commit
a54ba477c3
1 changed files with 4 additions and 4 deletions
|
@ -640,14 +640,14 @@ bool areKeySymXsDepressed( bool bAll, const uint keySyms[], int nKeySyms )
|
|||
int i = keyCodeX / 8;
|
||||
char mask = 1 << (keyCodeX - (i * 8));
|
||||
|
||||
kDebug(125) << iKeySym << ": keySymX=0x" << QString::number( keySymX, 16 )
|
||||
<< " i=" << i << " mask=0x" << QString::number( mask, 16 )
|
||||
<< " keymap[i]=0x" << QString::number( keymap[i], 16 ) << endl;
|
||||
|
||||
// Abort if bad index value,
|
||||
if( i < 0 || i >= 32 )
|
||||
return false;
|
||||
|
||||
kDebug(125) << iKeySym << ": keySymX=0x" << QString::number( keySymX, 16 )
|
||||
<< " i=" << i << " mask=0x" << QString::number( mask, 16 )
|
||||
<< " keymap[i]=0x" << QString::number( keymap[i], 16 ) << endl;
|
||||
|
||||
// If ALL keys passed need to be depressed,
|
||||
if( bAll )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue