1
0
Fork 0

Keep in sync with SimGear Package API

This commit is contained in:
James Turner 2015-09-27 19:44:39 -05:00
parent 43bcc85919
commit 5f0e347c60

View 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);