Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 21ca245ae3da3dbcd921aad8f6c718e1 > files > 2

grfcodec-0.9.10-r2306.1mdv2010.1.src.rpm

--- ./info.cc.orig	2010-04-10 10:16:16.000000000 +0200
+++ ./info.cc	2010-04-10 10:16:47.000000000 +0200
@@ -85,7 +85,7 @@ inforeader::inforeader(char *fn)
 	try{
 		read_file(f,infover,nfofile);
 	}catch(Sprite::unparseable e){
-		printf(e);
+		printf("%s", e);
 		exit(1);
 	}
 }
--- ./grfmerge.c.orig	2010-04-10 10:22:55.000000000 +0200
+++ ./grfmerge.c	2010-04-10 10:23:31.000000000 +0200
@@ -124,7 +124,7 @@ static int yesno(const char *txt)
 		getc(stdin);
 
 		if (c != 'y') {
-			printf(txt);
+			printf("%s", txt);
 			return 0;
 		}
 	}