shithub: riow

Download patch

ref: 02d71d923ec7712d47e5a41db82441776d793407
parent: f5998e74c6964a5118c1ab97038b38401f3e684f
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Mar 30 02:12:27 EDT 2021

0xfffd → Runeerror

--- a/gkbd.c
+++ b/gkbd.c
@@ -41,7 +41,7 @@
 		out[n++] = ' ';
 		while(*s){
 			s += chartorune(&r, s);
-			if(r == 0xfffd){
+			if(r == Runeerror){
 				n = -1;
 				break;
 			}