diff --git a/src/main.cc b/src/main.cc index 0f4ae79f..e448e9d3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -591,7 +591,7 @@ do_panic(int signum) { void print_help() { - std::cout << "Rakshasa's BitTorrent client version " VERSION "." << std::endl; + std::cout << "Rakshasa's BitTorrent client version " PACKAGE_VERSION "." << std::endl; std::cout << std::endl; std::cout << "All value pairs (f.ex rate and queue size) will be in the UP/DOWN" << std::endl; std::cout << "order. Use the up/down/left/right arrow keys to move between screens." << std::endl; diff --git a/src/ui/download_list.cc b/src/ui/download_list.cc index 6d30ff0d..81eef796 100644 --- a/src/ui/download_list.cc +++ b/src/ui/download_list.cc @@ -179,7 +179,7 @@ DownloadList::activate_display(Display displayType) { // Set title. switch (displayType) { case DISPLAY_DOWNLOAD_LIST: - control->ui()->window_title()->set_title("rTorrent " VERSION "/" + + control->ui()->window_title()->set_title("rTorrent " PACKAGE_VERSION "/" + std::string(torrent::version()) + " - " + rpc::call_command_string("session.name")); break;