mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix warning the value of the size argument in strncat is too large
This commit is contained in:
parent
52da823a3c
commit
345c53ae53
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ void FillTextureList( GSList** pArray )
|
|||
colon = strstr( (char*)l_shaderfiles->data, ":" );
|
||||
if( colon )
|
||||
{
|
||||
strncat( shaderfile, colon, sizeof( shaderfile ) );
|
||||
strncat( shaderfile, colon, sizeof( shaderfile ) - strlen( shaderfile ) - 1 );
|
||||
}
|
||||
|
||||
for ( GSList *tmp = texdirs; tmp; tmp = g_slist_next( tmp ) )
|
||||
|
|
Loading…
Reference in a new issue