ref: b2126553b9839b747ad383c61a62ebc57312a47b
parent: 35cffbd08f2428ef2b9be2bc293aa4b345cf082a
author: Jacob Moody <moody@posixcafe.org>
date: Sun Dec 7 16:32:11 EST 2025
vdiff: fix rune comparison
--- a/sys/src/cmd/vdiff.c
+++ b/sys/src/cmd/vdiff.c
@@ -597,7 +597,7 @@
int type;
type = Lnone;
- if(strncmp(text, "⑨", 1)==0)
+ if(utfncmp(text, "⑨", 1) == 0)
type = Lterm;
else if(strncmp(text, "diff", 4)==0)
type = Lhash;
--
⑨