[aseprite] 102/134: Enable IsDeveloper flag when we check updates in _DEBUG

Tobias Hansen thansen at moszumanska.debian.org
Sat Mar 14 17:10:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 58ad5e2ecb9c2e756b2e920e18ef927e1cbc6e99
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Dec 5 10:38:22 2014 -0300

    Enable IsDeveloper flag when we check updates in _DEBUG
---
 src/app/check_update.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/app/check_update.cpp b/src/app/check_update.cpp
index 5fe47b0..0b2ad37 100644
--- a/src/app/check_update.cpp
+++ b/src/app/check_update.cpp
@@ -90,7 +90,11 @@ CheckUpdateThreadLauncher::CheckUpdateThreadLauncher()
   , m_received(false)
   , m_inits(get_config_int("Updater", "Inits", 0))
   , m_exits(get_config_int("Updater", "Exits", 0))
+#ifdef _DEBUG
+  , m_isDeveloper(true)
+#else
   , m_isDeveloper(get_config_bool("Updater", "IsDeveloper", false))
+#endif
   , m_timer(kMonitoringPeriod, NULL)
 {
   // Get how many days we have to wait for the next "check for update"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list