From 877ed8a92a837b8409c8399dd5aceaa83655494c Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Sun, 15 Oct 2023 04:53:36 +0500 Subject: [PATCH] utils: mdldec: qc.c: put every texture name to separate line. --- utils/mdldec/qc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/mdldec/qc.c b/utils/mdldec/qc.c index 4ce21666..d453b0fe 100644 --- a/utils/mdldec/qc.c +++ b/utils/mdldec/qc.c @@ -263,7 +263,7 @@ static void WriteSkinFamilyInfo( FILE *fp ) for( i = 0; i < texture_hdr->numskinfamilies; ++i ) { - fputs( "\t{", fp ); + fputs( "\t{\n", fp ); for( j = 0; j < texture_hdr->numskinref; ++j ) { @@ -276,12 +276,12 @@ static void WriteSkinFamilyInfo( FILE *fp ) texture = (mstudiotexture_t *)( (byte *)texture_hdr + texture_hdr->textureindex ) + index; - fprintf( fp, " \"%s\" ", texture->name ); + fprintf( fp, "\t\t\"%s\"\n", texture->name ); break; } } - fputs( "}\n", fp ); + fputs( "\t}\n", fp ); } fputs( "}\n\n", fp );