m_strisempty is better, isn't it ?
[apps/madmutt.git] / commands.c
index d8a10d7..d24ba0c 100644 (file)
@@ -441,7 +441,7 @@ void mutt_pipe_message (HEADER * h)
 void mutt_print_message (HEADER * h)
 {
 
-  if (quadoption (OPT_PRINT) && (!PrintCmd || !*PrintCmd)) {
+  if (quadoption (OPT_PRINT) && m_strisempty(PrintCmd)) {
     mutt_message (_("No printing command has been defined."));
     return;
   }