img2gba

changeset 2:5f314b692d9e tip

fixed missing semi-colons in generated source
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Jun 2014 06:34:58 +0300
parents eb9334da7c80
children
files src/imgconv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/src/imgconv.c	Thu Jun 26 06:34:00 2014 +0300
     1.2 +++ b/src/imgconv.c	Fri Jun 27 06:34:58 2014 +0300
     1.3 @@ -121,9 +121,9 @@
     1.4  		return -1;
     1.5  	}
     1.6  
     1.7 -	fprintf(fp, "\nconst short %s = %d\n", vars->widthname, x);
     1.8 -	fprintf(fp, "\nconst short %s = %d\n", vars->heightname, y);
     1.9 -	fprintf(fp, "\nconst short %s = 16\n", vars->bppname);
    1.10 +	fprintf(fp, "\nconst short %s = %d;\n", vars->widthname, x);
    1.11 +	fprintf(fp, "\nconst short %s = %d;\n", vars->heightname, y);
    1.12 +	fprintf(fp, "\nconst short %s = 16;\n", vars->bppname);
    1.13  
    1.14  	fprintf(fp, "\nconst unsigned short %s[] = {\n", vars->arrayname);
    1.15