]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
* fixed missing string for error output
authormattn <mattn>
Mon, 25 Aug 2008 12:32:29 +0000 (12:32 +0000)
committermattn <mattn>
Mon, 25 Aug 2008 12:32:29 +0000 (12:32 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@314 8a3a26a2-13c4-0310-b231-cf6edde360e5

tools/quake3/common/aselib.c

index 94491f7f6311283ba82c69c4889e781cf14599da..a39d0f624db9fb8103e2236378d53c45fd25d499 100644 (file)
@@ -124,7 +124,7 @@ static char* strlwr (char* string)
     if ('A' <= *cp && *cp <= 'Z')
       *cp += 'a' - 'A';
   }
     if ('A' <= *cp && *cp <= 'Z')
       *cp += 'a' - 'A';
   }
+
   return string;
 }
 
   return string;
 }
 
@@ -159,7 +159,7 @@ void ASE_Load( const char *filename, qboolean verbose, qboolean grabAnims )
        fclose( fp );
 
         strcpy(gl_filename, filename);
        fclose( fp );
 
         strcpy(gl_filename, filename);
-        
+
        ASE_Process();
 }
 
        ASE_Process();
 }
 
@@ -217,7 +217,7 @@ polyset_t *ASE_GetSurfaceAnimation( int which, int *pNumFrames, int skipFrameSta
        {
                numFramesInAnimation = maxFrames;
        }
        {
                numFramesInAnimation = maxFrames;
        }
-       else 
+       else
        {
                numFramesInAnimation = pObject->anim.numFrames;
                if ( maxFrames != -1 )
        {
                numFramesInAnimation = pObject->anim.numFrames;
                if ( maxFrames != -1 )
@@ -436,7 +436,7 @@ static void ASE_KeyMAP_DIFFUSE( const char *token )
 
                // the purpose of this whole chunk of code below is to extract the relative path
                // from a full path in the ASE
 
                // the purpose of this whole chunk of code below is to extract the relative path
                // from a full path in the ASE
-                       
+
                strcpy( bitmap, s_token + 1 );
                if ( strchr( bitmap, '"' ) )
                        *strchr( bitmap, '"' ) = 0;
                strcpy( bitmap, s_token + 1 );
                if ( strchr( bitmap, '"' ) )
                        *strchr( bitmap, '"' ) = 0;
@@ -659,7 +659,7 @@ static void ASE_KeyMESH_TVERTLIST( const char *token )
        }
        else
        {
        }
        else
        {
-               Error( "Unknown token '%s' while parsing MESH_TVERTLIST" );
+               Error( "Unknown token '%s' while parsing MESH_TVERTLIST", token );
        }
 }
 
        }
 }
 
@@ -803,7 +803,7 @@ static void ASE_KeyGEOMOBJECT( const char *token )
        else if ( !strcmp( token, "*MESH" ) && !ase.grabAnims )
        {
 /*
        else if ( !strcmp( token, "*MESH" ) && !ase.grabAnims )
        {
 /*
-               if ( strstr( ase.objects[ase.currentObject].name, "tag_" ) == ase.objects[ase.currentObject].name ) 
+               if ( strstr( ase.objects[ase.currentObject].name, "tag_" ) == ase.objects[ase.currentObject].name )
                {
                        s_forceStaticMesh = true;
                        ASE_ParseBracedBlock( ASE_KeyMESH );
                {
                        s_forceStaticMesh = true;
                        ASE_ParseBracedBlock( ASE_KeyMESH );
@@ -818,7 +818,7 @@ static void ASE_KeyGEOMOBJECT( const char *token )
                ase.objects[ase.currentObject].anim.numFrames = ase.objects[ase.currentObject].anim.currentFrame;
                ase.objects[ase.currentObject].numAnimations++;
 /*
                ase.objects[ase.currentObject].anim.numFrames = ase.objects[ase.currentObject].anim.currentFrame;
                ase.objects[ase.currentObject].numAnimations++;
 /*
-               // ignore meshes that aren't part of animations if this object isn't a 
+               // ignore meshes that aren't part of animations if this object isn't a
                // a tag
                else
                {
                // a tag
                else
                {