Small Bug in Sonnet::Filter

Zack Rusin zack at kde.org
Thu Sep 13 14:00:43 BST 2007


On Tuesday 11 September 2007 04:05:55 pm Fredy Yanardi wrote:
> 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.

Great catch :)

> Any problem with this?

No, please commit

z






More information about the kde-core-devel mailing list