replace VERSION with PACKAGE_VERSION

They're both the same. The latter is more descriptive.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-06-04 17:30:07 -07:00
committed by Jari Sundell
parent 4c06e7a923
commit c48b7f5b93
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;