summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index 93cba12..6abd379 100644
--- a/edit.c
+++ b/edit.c
@@ -97,7 +97,7 @@ static void killForeWord(void) {
 
 static void rot13(void) {
 	for (wchar_t *ch = line.buf; ch != line.end; ++ch) {
-		if (!iswascii(*ch)) continue;
+		if (*ch > L'z') continue;
 		if (iswupper(*ch)) *ch = L'A' + (*ch - L'A' + 13) % 26;
 		if (iswlower(*ch)) *ch = L'a' + (*ch - L'a' + 13) % 26;
 	}
5290b6c3&follow=1'>Publish "Care"June McEnroe 2022-03-31Publish "Compassion"June McEnroe 2022-03-24Skip matches with ident chars on either sideJune McEnroe 2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe 2022-03-16Remove -j4 from ./PlanJune McEnroe 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe