diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-24 16:32:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-04-24 16:32:05 +0000 |
commit | 9cd1cc0535bd0b80c0c2550a03aeb872b10d7ff0 (patch) | |
tree | 03cb089db4a31c653ffc552cae40c5c7c376fe4a /progs | |
parent | 263fff44b45e3ef0bb8ef19ebb8475a4662778de (diff) | |
download | external_mesa3d-9cd1cc0535bd0b80c0c2550a03aeb872b10d7ff0.zip external_mesa3d-9cd1cc0535bd0b80c0c2550a03aeb872b10d7ff0.tar.gz external_mesa3d-9cd1cc0535bd0b80c0c2550a03aeb872b10d7ff0.tar.bz2 |
fprintf() clean-up (bug 6730)
Diffstat (limited to 'progs')
-rw-r--r-- | progs/vp/vp-tris.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c index abc056b..5dbe5ac 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); |