From c48b7f5b9327a8d0d5b3e69d6fbb5731c926f5a5 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 4 Jun 2025 17:30:07 -0700 Subject: [PATCH] replace VERSION with PACKAGE_VERSION They're both the same. The latter is more descriptive. Signed-off-by: Rosen Penev --- src/main.cc | 2 +- src/ui/download_list.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;