]> git.mxchange.org Git - simgear.git/commitdiff
Package: use correct tag for download url.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 9 Jun 2014 22:45:03 +0000 (00:45 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 9 Jun 2014 22:45:03 +0000 (00:45 +0200)
simgear/package/Package.cxx

index d0e8a3cb7c28bf2c15ee72ddd2eefdff3688a478..772644e41b667d5eb4271e74116b3e3595b67272 100644 (file)
@@ -161,7 +161,7 @@ string_list Package::thumbnailUrls() const
 string_list Package::downloadUrls() const
 {
     string_list r;
-    BOOST_FOREACH(SGPropertyNode* dl, m_props->getChildren("download")) {
+    BOOST_FOREACH(SGPropertyNode* dl, m_props->getChildren("url")) {
         r.push_back(dl->getStringValue());
     }
     return r;