* Fixed a bug where callinging download specific commands through the ui with no torrent selected would cause a crash.

* Added LT_SLIM_VERSION option that will leave out unneeded command redirects from the build.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1183 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-11-02 11:20:01 +00:00
parent b8d319a2fc
commit 0098b1f0b9
5 changed files with 16 additions and 22 deletions
+3 -1
View File
@@ -318,7 +318,9 @@ DownloadList::receive_exit_input(Input type) {
break;
case INPUT_COMMAND:
rpc::parse_command_d_single_std(current_view()->focus() != current_view()->end_visible() ? *current_view()->focus() : NULL, input->str());
rpc::parse_command_single(current_view()->focus() != current_view()->end_visible() ?
rpc::make_target(*current_view()->focus()) : rpc::make_target(),
input->str());
break;
default: