[folks] core: Accept FOLKS_DEBUG_NO_COLOR as an alternative to the UK spelling
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] core: Accept FOLKS_DEBUG_NO_COLOR as an alternative to the UK spelling
- Date: Tue, 17 Mar 2015 15:18:32 +0000 (UTC)
commit 523c9d7406448f987f9f9c5db4b89cad845bd51d
Author: Philip Withnall <philip withnall collabora co uk>
Date: Tue Mar 17 15:17:29 2015 +0000
core: Accept FOLKS_DEBUG_NO_COLOR as an alternative to the UK spelling
Embarrassingly, I have mistyped this one too many times.
folks/backend-store.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/folks/backend-store.vala b/folks/backend-store.vala
index 8e20e89..ba98ec2 100644
--- a/folks/backend-store.vala
+++ b/folks/backend-store.vala
@@ -141,9 +141,11 @@ public class Folks.BackendStore : Object {
{
/* Treat this as a library init function */
var debug_no_colour = Environment.get_variable ("FOLKS_DEBUG_NO_COLOUR");
+ var debug_no_color = Environment.get_variable ("FOLKS_DEBUG_NO_COLOR");
this._debug =
Debug.dup_with_flags (Environment.get_variable ("G_MESSAGES_DEBUG"),
- (debug_no_colour == null || debug_no_colour == "0"));
+ (debug_no_colour == null || debug_no_colour == "0") &&
+ (debug_no_color == null || debug_no_color == "0"));
/* register the core debug messages */
this._debug._register_domain (G_LOG_DOMAIN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]