From 2759257a7d892584d45cdaf5113da06a264e9c9c Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Mon, 30 Jan 2012 14:32:10 +0100 Subject: [PATCH] Removed another deprecated mhn check. The comment appeared to be wrong ... maybe inverted. I removed it. --- uip/show.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/uip/show.c b/uip/show.c index 38bb4b5..1acaf70 100644 --- a/uip/show.c +++ b/uip/show.c @@ -287,21 +287,6 @@ go_to_it: ; if (folder && !file) m_putenv("mhfolder", folder); - /* - ** For backward compatibility, if the "proc" is mhn, - ** then add "-show" option. Add "-file" if showing - ** file. - */ - if (strcmp(mhbasename(proc), "mhn") == 0) { - if (file) { - vec[vecp] = vec[vecp - 1]; - vec[vecp - 1] = "-file"; - vecp++; - } - vec[vecp++] = "-show"; - vec[vecp] = NULL; - } - /* If the "proc" is "mhshow", add "-file" if showing file. */ if (strcmp(mhbasename(proc), "mhshow") == 0 && file ) { vec[vecp] = vec[vecp - 1]; @@ -321,8 +306,7 @@ go_to_it: ; /* ** If you are not using a nmh command as your "proc", then - ** add the path to the message names. Currently, we are just - ** checking for mhn here, since we've already taken care of mhl. + ** add the path to the message names. */ if (strcmp(mhbasename(proc), "mhl")==0 && !file -- 1.7.10.4