]> git.mxchange.org Git - flightgear.git/commitdiff
Keep in sync with SimGear Package API
authorJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 00:44:39 +0000 (19:44 -0500)
committerJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 00:44:39 +0000 (19:44 -0500)
src/Network/http/PkgUriHandler.cxx

index 7488a7c361dd7bebf5242a5a7cf1a427934247c7..5b09650870b849286f87fa1d83618ea7c64fca0c 100644 (file)
@@ -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);