[cogl] debug: Accept HELP for the COGL_DEBUG environment variable.
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] debug: Accept HELP for the COGL_DEBUG environment variable.
- Date: Fri, 9 Dec 2011 18:03:18 +0000 (UTC)
commit e723b3b47989ebb8b12ea6b9b853240e0be1f8de
Author: Rob Bradford <rob linux intel com>
Date: Fri Dec 9 17:17:51 2011 +0000
debug: Accept HELP for the COGL_DEBUG environment variable.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl/cogl-debug.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c
index 3651dff..7443222 100644
--- a/cogl/cogl-debug.c
+++ b/cogl/cogl-debug.c
@@ -167,7 +167,7 @@ _cogl_parse_debug_string (const char *value,
else
COGL_DEBUG_CLEAR_FLAG (cogl_log_debug_keys[i].value);
}
- else if (strcmp (value, "help") == 0)
+ else if (g_ascii_strcasecmp (value, "help") == 0)
{
g_printerr ("\n\n%28s\n", _("Supported debug values:"));
#define OPT(MASK_NAME, GROUP, NAME, NAME_FORMATTED, DESCRIPTION) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]