From 469ebb1efa390e2b1e5a746456157674d09db8bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 20 Feb 2025 01:45:39 -0500
Subject: [PATCH] Add explicit | to | mapping.

It's not clear exactly what will happen if I don't, so add it just
in case.
---
 src/xpdev/unicode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xpdev/unicode.c b/src/xpdev/unicode.c
index 2990c53d5d..e1f476784a 100644
--- a/src/xpdev/unicode.c
+++ b/src/xpdev/unicode.c
@@ -411,6 +411,7 @@ char unicode_to_cp437(enum unicode_codepoint codepoint)
 	switch (codepoint) {
 		case UNICODE_ACUTE_ACCENT:                              return '\'';
 
+		case '|':                                               return '|';
 		case UNICODE_BROKEN_BAR:                                return '|';
 		case UNICODE_MACRON:                                    return '~';
 
-- 
GitLab