hey, are you sure? the problem i reported was with more lines to be kept than can be displayed in the chat; so a "linesToKeep > lineCount" test.
in the "linesToKeep < lineCount" case (where the patch is applied), there should be no need to scroll. but if this patch does fix my issue, maybe it is the "lineCount" that is wrong... -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/1435007 Title: The "/clear" command scrolls back to the top Status in DC++: In Progress Bug description: in the DC++ chat, executing the "/clear" command while telling it to keep more lines shown than can be displayed in a single page of the chat control (eg "/clear 100") scrolls back to the top. it should scroll to the end if the chat was already scrolled to the end before running the command. To manage notifications about this bug go to: https://bugs.launchpad.net/dcplusplus/+bug/1435007/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : [email protected] Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp

