From 453062750c3752d77bbf772d85144003063c1212 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 4 Dec 2010 20:32:25 +0000 Subject: Remove Aliases file nonsense svn path=/trunk/libcss/; revision=10983 --- test/parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/parse.c') diff --git a/test/parse.c b/test/parse.c index 03a9703..efb555e 100644 --- a/test/parse.c +++ b/test/parse.c @@ -84,8 +84,8 @@ int main(int argc, char **argv) css_error error; int i; - if (argc != 3) { - printf("Usage: %s \n", argv[0]); + if (argc != 2) { + printf("Usage: %s \n", argv[0]); return 1; } @@ -98,9 +98,9 @@ int main(int argc, char **argv) assert(css_parser_setopt(parser, CSS_PARSER_EVENT_HANDLER, ¶ms) == CSS_OK); - fp = fopen(argv[2], "rb"); + fp = fopen(argv[1], "rb"); if (fp == NULL) { - printf("Failed opening %s\n", argv[2]); + printf("Failed opening %s\n", argv[1]); return 1; } -- cgit v1.2.3