From 9cd1cc0535bd0b80c0c2550a03aeb872b10d7ff0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 24 Apr 2006 16:32:05 +0000 Subject: fprintf() clean-up (bug 6730) --- progs/vp/vp-tris.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'progs') diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c index abc056b8d0..5dbe5ac835 100644 --- a/progs/vp/vp-tris.c +++ b/progs/vp/vp-tris.c @@ -24,8 +24,6 @@ static void usage( char *name ) static void args(int argc, char *argv[]) { GLint i; - - fprintf(stderr, "%d\n", argc); for (i = 1; i < argc; i++) { if (strncmp(argv[i], "-n", 2) == 0) { @@ -70,7 +68,7 @@ static void Init( void ) exit(1); } - fprintf(stderr, "%*s\n", sz, buf); + fprintf(stderr, "%.*s\n", sz, buf); glGenProgramsARB(1, &prognum); -- cgit v1.2.3