]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/q2map/faces.c
introduce safe_malloc0, also 0 the memory before usage
[xonotic/netradiant.git] / tools / quake2 / q2map / faces.c
index 7607dbc218ca2d7ba47a0c3914e06a8ddfe8a766..15bb095fdc7aa5ba57bd8da266766514207ba849 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
+   Copyright (C) 1999-2007 id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
@@ -653,7 +653,7 @@ int GetEdge2( int v1, int v2,  face_t *f ){
                        }
        #if 0
                        if ( v1 == edge->v[0] && v2 == edge->v[1] ) {
-                               Sys_Printf( "WARNING: multiple forward edge\n" );
+                               Sys_FPrintf( SYS_WRN, "WARNING: multiple forward edge\n" );
                                return i;
                        }
        #endif