Fix two cases of %s that should be %c in debug logging messages.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@252 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2005-08-16 21:46:35 +00:00
parent e8c89f6a7c
commit 31c99f9fc1
2 changed files with 6 additions and 6 deletions

View File

@ -3121,9 +3121,9 @@ EFFECT *pFXData;
psHeader = (FX_SAVEHEADER *)pFileData;
if (psHeader->aFileType[0] != 'f' || psHeader->aFileType[1] != 'x' ||
psHeader->aFileType[2] != 'd' || psHeader->aFileType[3] != 'a') {
DBERROR(("Read FX data : Weird file type found? Has header letters \
- %s %s %s %s", psHeader->aFileType[0],psHeader->aFileType[1],
psHeader->aFileType[2],psHeader->aFileType[3]));
debug(LOG_ERROR, "Read FX data: Weird file type found? Has header letters "
"- %c %c %c %c", psHeader->aFileType[0], psHeader->aFileType[1],
psHeader->aFileType[2], psHeader->aFileType[3]);
return FALSE;
}

View File

@ -1630,9 +1630,9 @@ UBYTE *pVisData;
psHeader = (VIS_SAVEHEADER *)pFileData;
if (psHeader->aFileType[0] != 'v' || psHeader->aFileType[1] != 'i' ||
psHeader->aFileType[2] != 's' || psHeader->aFileType[3] != 'd') {
DBERROR(("Read visibility data : Weird file type found? Has header letters \
- %s %s %s %s", psHeader->aFileType[0],psHeader->aFileType[1],
psHeader->aFileType[2],psHeader->aFileType[3]));
debug(LOG_ERROR, "Read visibility data: Weird file type found? Has header letters"
" - %c %c %c %c", psHeader->aFileType[0],psHeader->aFileType[1],
psHeader->aFileType[2],psHeader->aFileType[3]);
return FALSE;
}