about summary refs log tree commit diff stats
path: root/src/LYShowInfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYShowInfo.c')
-rw-r--r--src/LYShowInfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c
index 9939a3e5..596e753c 100644
--- a/src/LYShowInfo.c
+++ b/src/LYShowInfo.c
@@ -281,7 +281,7 @@ PUBLIC int LYShowInfo ARGS4(
     } else {
       LYUCcharset * p_in = HTAnchor_getUCInfoStage(HTMainAnchor,
 							     UCT_STAGE_PARSER);
-      if (!p_in || !(p_in->MIMEname) || !*(p_in->MIMEname) ||
+      if (!p_in || isEmpty(p_in->MIMEname) ||
 	   HTAnchor_getUCLYhndl(HTMainAnchor, UCT_STAGE_PARSER) < 0) {
 	   p_in = HTAnchor_getUCInfoStage(HTMainAnchor, UCT_STAGE_MIME);
       }