From: markus schnalke Date: Mon, 30 Jan 2012 13:32:10 +0000 (+0100) Subject: Removed another deprecated mhn check. X-Git-Tag: mmh-thesis-end~385 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=2759257a7d892584d45cdaf5113da06a264e9c9c;p=mmh Removed another deprecated mhn check. The comment appeared to be wrong ... maybe inverted. I removed it. --- 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