From: Ingo Ruhnke Date: Sun, 24 Aug 2014 07:21:10 +0000 (+0200) Subject: Renamed "http_url", just "url" X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=dace53dc5f4832a6e0600330f7ea1d36b0544a12;p=supertux.git Renamed "http_url", just "url" --- diff --git a/src/addon/addon.cpp b/src/addon/addon.cpp index 4683b0369..26884229b 100644 --- a/src/addon/addon.cpp +++ b/src/addon/addon.cpp @@ -83,7 +83,7 @@ Addon::parse(const Reader& lisp) lisp.get("title", addon->m_title); lisp.get("author", addon->m_author); lisp.get("license", addon->m_license); - lisp.get("http-url", addon->m_http_url); + lisp.get("url", addon->m_url); lisp.get("md5", addon->m_md5); return addon; @@ -128,7 +128,7 @@ Addon::Addon() : m_title(), m_author(), m_license(), - m_http_url(), + m_url(), m_md5(), m_install_filename(), m_enabled(false) diff --git a/src/addon/addon.hpp b/src/addon/addon.hpp index 34e49aabd..37da29825 100644 --- a/src/addon/addon.hpp +++ b/src/addon/addon.hpp @@ -42,7 +42,7 @@ private: std::string m_license; // additional fields provided for addons from an addon repository - std::string m_http_url; + std::string m_url; std::string m_md5; // fields filled by the AddonManager @@ -61,7 +61,7 @@ public: std::string get_author() const { return m_author; } std::string get_license() const { return m_license; } - std::string get_http_url() const { return m_http_url; } + std::string get_url() const { return m_url; } std::string get_md5() const { return m_md5; } std::string get_filename() const;