mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
Alot of UI work, resize fixed.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@253 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+3
-3
@@ -28,8 +28,8 @@ Poll::poll() {
|
||||
|
||||
uint64_t t = torrent::get(torrent::TIME_SELECT);
|
||||
|
||||
if (t > 10000000)
|
||||
t = 10000000;
|
||||
if (t > 1000000)
|
||||
t = 1000000;
|
||||
|
||||
timeval timeout = {t / 1000000, t % 1000000};
|
||||
|
||||
@@ -50,7 +50,7 @@ Poll::work() {
|
||||
if (FD_ISSET(0, &m_readSet)) {
|
||||
int key;
|
||||
|
||||
while ((key = getch()) >= 0)
|
||||
while ((key = getch()) != ERR)
|
||||
m_slotReadStdin(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user