Small Bug in Sonnet::Filter

Fredy Yanardi fyanardi at gmail.com
Tue Sep 11 21:05:55 BST 2007


Hi all,

I just found a problem in Sonnet::Filter that is causing words not fetched 
correctly in Sonnet's Backgroundchecker. The problem is when iterating a word 
in nextWord() method, if current iterator position exceeds word length, an 
end of word is returned. But I think the method should be returning current 
word. By changing a line in this method, this problem seems to be solved. 
Here I also attach a diff to make it clear what's changed.

Any problem with this?

Best Regards,

Fredy Yanardi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sonnet_filter.diff
Type: text/x-diff
Size: 570 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070911/26a84c5c/attachment.diff>


More information about the kde-core-devel mailing list