From d42d70e713e5b740e457a4d56e4dad6e5e0e9b94 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 22 Oct 2023 03:01:19 +0000
Subject: CTAN sync 202310220301

---
 macros/latex/contrib/crefthe/crefthe.sty | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'macros/latex/contrib/crefthe/crefthe.sty')

diff --git a/macros/latex/contrib/crefthe/crefthe.sty b/macros/latex/contrib/crefthe/crefthe.sty
index bffa152b57..e73444aa88 100644
--- a/macros/latex/contrib/crefthe/crefthe.sty
+++ b/macros/latex/contrib/crefthe/crefthe.sty
@@ -12,7 +12,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplPackage
   {crefthe}
-  {2023/10/16} {}
+  {2023/10/21} {}
   {Cross referencing with proper definite articles}
 
 \keys_define:nn { crefthe }
@@ -429,7 +429,7 @@
     \tl_gclear:N \l__crefthe_prep_once_tl
     \tl_gset:Nx \l__crefthe_prep_each_tl
       { \text_lowercase:n { \l__crefthe_prep_each_tl } }
-    \str_if_eq:eeF { \str_tail:n { #1 } } { ' } { ~ }
+    \str_if_eq:eeF { \exp_args:Ne \str_item:nn { #1 } { -1 } } { ' } { ~ }
     \bool_gset_false:N \g__crefthe_uppercase_bool
   }
 
-- 
cgit v1.2.3

