X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/47e4d2685ab31e71336a7806fdc3dcd2a107f60f..b46d49ba:/sbr/m_convert.c?ds=sidebyside diff --git a/sbr/m_convert.c b/sbr/m_convert.c index 566b02a5..06e31afe 100644 --- a/sbr/m_convert.c +++ b/sbr/m_convert.c @@ -293,16 +293,16 @@ m_conv (struct msgs *mp, char *str, int call) delimp = cp; if (!strcmp (buf, "first")) - return (mp->hghmsg || !(mp->msgflags & ALLOW_NEW) - ? mp->lowmsg : BADMSG); + return mp->hghmsg || !(mp->msgflags & ALLOW_NEW) ? + mp->lowmsg : BADMSG; if (!strcmp (buf, "last")) { convdir = -1; - return (mp->hghmsg || !(mp->msgflags & ALLOW_NEW) ? mp->hghmsg : BADMSG); + return mp->hghmsg || !(mp->msgflags & ALLOW_NEW) ? mp->hghmsg : BADMSG; } if (!strcmp (buf, "cur") || !strcmp (buf, ".")) - return (mp->curmsg > 0 ? mp->curmsg : BADMSG); + return mp->curmsg > 0 ? mp->curmsg : BADMSG; if (!strcmp (buf, "prev")) { convdir = -1; @@ -371,7 +371,7 @@ attr (struct msgs *mp, char *cp) convdir = 1; /* convert direction */ - for (dp = cp; *dp && isalnum((unsigned char) *dp); dp++) + for (dp = cp; isalnum((unsigned char)*dp); dp++) continue; if (*dp == ':') {