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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/widgets
From:       Daniel Laidig <laidig () kde ! org>
Date:       2010-10-24 14:09:43
Message-ID: 20101024140943.46505AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1189302 by laidig:

fix building the search index for "see also" references

BUG:214472


 M  +2 -2      kcharselectdata.cpp  


--- trunk/KDE/kdelibs/kdeui/widgets/kcharselectdata.cpp #1189301:1189302
@@ -821,8 +821,8 @@
         quint32 seeAlsoOffset = qFromLittleEndian<quint32>(udata + detailsOffsetBegin + pos*27 + 22);
 
         for (int j = 0;  j < seeAlsoCount;  j++) {
-            quint16 unicode = qFromLittleEndian<quint16> (udata + seeAlsoOffset);
-            appendToIndex(&i, unicode, QString::number(unicode, 16));
+            quint16 seeAlso = qFromLittleEndian<quint16> (udata + seeAlsoOffset);
+            appendToIndex(&i, unicode, formatCode(seeAlso, 4, QString()));
             equivOffset += strlen(data + equivOffset) + 1;
         }
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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