X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/0683223aa93d14e4b1d0620010392c518a3a6392..d4efbcd93c940ad522fcf8c601ec1829d2e0b10d:/versioncmp.c diff --git a/versioncmp.c b/versioncmp.c index 335098b..1b77ca9 100644 --- a/versioncmp.c +++ b/versioncmp.c @@ -7,7 +7,7 @@ * (c) 2007 Straylight/Edgeware */ -/*----- Licensing notice --------------------------------------------------* +/*----- Licensing notice --------------------------------------------------* * * This file is part of the mLib utilities library. * @@ -15,12 +15,12 @@ * it under the terms of the GNU Library General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. - * + * * mLib is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. - * + * * You should have received a copy of the GNU Library General Public * License along with mLib; if not, write to the Free * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, @@ -166,7 +166,7 @@ static void vsplit(const char *v, struct vinfo *vi) n = strlen(v); if ((p = strrchr(v, '-')) == 0) vi->s = vi->sl = 0; - else { + else { vi->s = p + 1; vi->sl = v + n; n = p - v;