mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 23:29:21 +00:00
* Fixed mismatched delete/delete[] in torrent::Bitfield::resize.
* Added 'view_sort_current', changed 'view_sort' to sort according to what was defined by the former option. * 'view_sort_*' now takes a list of sorting options which are applied in order. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@673 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+6
-2
@@ -164,10 +164,14 @@ main(int argc, char** argv) {
|
||||
|
||||
control->variable()->process_command("view_add = main");
|
||||
control->variable()->process_command("view_sort_new = main,name");
|
||||
control->variable()->process_command("view_sort_current = main,name");
|
||||
|
||||
// Move env and go through "try_import".
|
||||
if (!control->variable()->process_file("~/.rtorrent.rc"))
|
||||
control->core()->get_log_important().push_front("Could not load \"~/.rtorrent.rc\".");
|
||||
// if (!control->variable()->process_file("~/.rtorrent.rc"))
|
||||
// control->core()->get_log_important().push_front("Could not load \"~/.rtorrent.rc\".");
|
||||
|
||||
// Complain.
|
||||
control->variable()->process_command("try_import = ~/.rtorrent.rc");
|
||||
|
||||
int firstArg = parse_options(control, argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user