--------------Boundary-00=_RYHK8DWAHYLTIGA0JPGU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Hi, this patch fixes BR 38621. Ok to commit? - Frerich --------------Boundary-00=_RYHK8DWAHYLTIGA0JPGU Content-Type: text/x-diff; charset="us-ascii"; name="knewsticker-38621.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="knewsticker-38621.diff" Index: knewsticker.cpp =================================================================== RCS file: /home/kde/kdenetwork/knewsticker/knewsticker.cpp,v retrieving revision 1.141 diff -u -3 -p -r1.141 knewsticker.cpp --- knewsticker.cpp 2001/12/27 18:38:16 1.141 +++ knewsticker.cpp 2002/03/05 19:54:21 @@ -535,7 +535,7 @@ int KNewsTickerMenu::exec(const QPoint & << "which has " << entries << " entries." << endl; kdDebug(5005) << "res == " << res << endl; - if (--res <= entries) { + if (--res <= entries + 1) { if (res == 1) ns->retrieveNews(); else if (!ns->articles().isEmpty()) { @@ -546,7 +546,7 @@ int KNewsTickerMenu::exec(const QPoint & } break; } else - res -= entries + 1; + res -= entries + 2; } return result; --------------Boundary-00=_RYHK8DWAHYLTIGA0JPGU--