From cbf2d3ae574e4e9f5eb964999a4ce2e8e21f5e97 Mon Sep 17 00:00:00 2001
From: mirabilos <m@mirbsd.org>
Date: Sun, 5 Aug 2018 02:59:31 +0200
Subject: [PATCH] fix indentation, add comment for future TL compat

---
 unicodedomino.sty | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/unicodedomino.sty b/unicodedomino.sty
index 016e694..e964383 100644
--- a/unicodedomino.sty
+++ b/unicodedomino.sty
@@ -177,11 +177,14 @@
    \PackageWarning{inputenc}{%
     Unicode\space char\space\expandafter\UTFviii@splitcsname\string#1\relax%
     \space not\space set\space up\space for\space use\MessageBreak with\space%
-    LaTeX, replacing}%
-    \expandafter\unicodedomino@decode\string#1\relax%
-   \else%
-    % protected, just write the original character
-    \expandafter\@gobblefour\string#1%
+    LaTeX, replacing%
+   }%
+   % note: same warning as in \UTFviii@undefined@err in utf8.def v1.2c,
+   % except adding “, replacing” at the end and not being an error
+   \expandafter\unicodedomino@decode\string#1\relax%
+  \else%
+   % protected, just write the original character
+   \expandafter\@gobblefour\string#1%
   \fi%
  \else%
   % known char, expand
-- 
GitLab