diff --git a/unicodedomino.sty b/unicodedomino.sty
index 0d43411790b138ace81a763fa52dc4389c5943e0..3b4d13f801001437ef847d9fa15516a350c3f785 100644
--- a/unicodedomino.sty
+++ b/unicodedomino.sty
@@ -167,7 +167,7 @@
  \expandafter\unicodedomino@l@st#1\empty\empty\empty%
 }%
 \def\unicodedomino@l@st#1#2#3\empty{%
- \ifx#2\empty%
+ \ifx\empty#2%
   #1%
  \else%
   \unicodedomino@l@st#2#3\empty\empty%