From: James Turner Date: Mon, 28 Sep 2015 00:44:39 +0000 (-0500) Subject: Keep in sync with SimGear Package API X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5f0e347c6098ed578d2d56a37ee5d9ef70cd08db;p=flightgear.git Keep in sync with SimGear Package API --- diff --git a/src/Network/http/PkgUriHandler.cxx b/src/Network/http/PkgUriHandler.cxx index 7488a7c36..5b0965087 100644 --- a/src/Network/http/PkgUriHandler.cxx +++ b/src/Network/http/PkgUriHandler.cxx @@ -117,7 +117,7 @@ static string PackageRootCommand( simgear::pkg::Root* packageRoot, const string } else if( command == "version" ) { - cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->catalogVersion().c_str() )); + cJSON_AddItemToObject(json, "version", cJSON_CreateString( packageRoot->applicationVersion().c_str() )); } else if( command == "refresh" ) { packageRoot->refresh(true);