diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h index a8cfbefb..51b3b554 100644 --- a/src/debug.h +++ b/src/debug.h @@ -60,7 +60,8 @@ typedef enum { VTE_DEBUG_PANGOCAIRO = 1 << 20, VTE_DEBUG_WIDGET_SIZE = 1 << 21, VTE_DEBUG_STYLE = 1 << 22, - VTE_DEBUG_RESIZE = 1 << 23 + VTE_DEBUG_RESIZE = 1 << 23, + VTE_DEBUG_REGEX = 1 << 24 } VteDebugFlags; void _vte_debug_init(void); @@ -72,7 +73,7 @@ static inline gboolean _vte_debug_on(guint flags) G_GNUC_CONST G_GNUC_UNUSED; static inline gboolean _vte_debug_on(guint flags) { - return (_vte_debug_flags & flags) == flags; + return (_vte_debug_flags & flags) != 0; } #ifdef VTE_DEBUG |