summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mscan.c b/mscan.c
index f3fdab9..39115c5 100644
--- a/mscan.c
+++ b/mscan.c
@@ -506,8 +506,8 @@ main(int argc, char *argv[])
 	curyday = tm->tm_yday;
 
 	setlocale(LC_ALL, "");  // for wcwidth later
-	if (wcwidth(0xFFFD) > 0)
-		replacement = 0xFFFD;
+	if (wcwidth(0xfffd) > 0)
+		replacement = 0xfffd;
 
 	struct winsize w;
 	if (ioctl(1, TIOCGWINSZ, &w) == 0)