From 16e2ce0aeb9e411a3b618d272f5fe9ba5c8bd50a Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Mon, 31 Mar 2025 12:24:15 +0500 Subject: [PATCH] utils: mdldec: avoid brackets. --- utils/mdldec/mdldec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/mdldec/mdldec.c b/utils/mdldec/mdldec.c index e90fc694..29c020ea 100644 --- a/utils/mdldec/mdldec.c +++ b/utils/mdldec/mdldec.c @@ -115,7 +115,7 @@ static void TextureNameFix( void ) } if( protected ) - LogPrintf( "WARNING: Gived name to %i protected texture(s).", protected ); + LogPrintf( "WARNING: Gived name to %i protected texture%s.", protected, protected > 1 ? "s" : "" ); if( hasduplicates ) LogPutS( "WARNING: Added numeric suffix to repeated texture name(s)." ); @@ -189,10 +189,10 @@ static void BodypartNameFix( void ) } if( protected ) - LogPrintf( "WARNING: Gived name to %i protected bodypart(s).", protected ); + LogPrintf( "WARNING: Gived name to %i protected bodypart%s.", protected, protected > 1 ? "s" : "" ); if( protected_models ) - LogPrintf( "WARNING: Gived name to %i protected model(s).", protected_models ); + LogPrintf( "WARNING: Gived name to %i protected model%s.", protected_models, protected_models > 1 ? "s" : "" ); if( hasduplicates ) LogPutS( "WARNING: Added numeric suffix to repeated bodypart name(s)." ); @@ -245,7 +245,7 @@ static void SequenceNameFix( void ) } if( protected ) - LogPrintf( "WARNING: Gived name to %i protected sequence(s).", protected ); + LogPrintf( "WARNING: Gived name to %i protected sequence%s.", protected, protected > 1 ? "s" : "" ); if( hasduplicates ) LogPutS( "WARNING: Added numeric suffix to repeated sequence name(s)." ); @@ -270,7 +270,7 @@ static void BoneNameFix( void ) } if( protected ) - LogPrintf( "WARNING: Gived name to %i protected bone(s).", protected ); + LogPrintf( "WARNING: Gived name to %i protected bone%s.", protected, protected > 1 ? "s" : "" ); } /*