summaryrefslogtreecommitdiffstats
path: root/progs/vp/vp-tris.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/vp/vp-tris.c')
-rw-r--r--progs/vp/vp-tris.c4
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);