summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 8b027be..fc7e8d5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4660,8 +4660,8 @@ static void DoCommandCjkwidth(struct action *act)
static void DoCommandTruecolor(struct action *act)
{
- ParseOnOff(act, &hastruecolor);
- Activate(-1);
+ if (ParseOnOff(act, &hastruecolor) == 0)
+ Activate(-1);
}
void DoAction(struct action *act)