aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 83f089ee..647d5052 100644
--- a/csi.c
+++ b/csi.c
@@ -260,7 +260,7 @@ csi_sgr(struct terminal *term)
bool
csi_dispatch(struct terminal *term, uint8_t final)
{
-#if defined(_DEBUG)
+#if defined(_DEBUG) && defined(LOG_ENABLE_DBG) && LOG_ENABLE_DBG
char log[1024];
int c = snprintf(log, sizeof(log), "CSI: ");