Merge pull request #2 from aeternity/tb-format-literal
Use fprintf with proper format template
This commit is contained in:
commit
b5f27a29ba
@ -110,7 +110,7 @@ void displayRoundNumber(int level, unsigned int i)
|
|||||||
void displayText(int level, const char *text)
|
void displayText(int level, const char *text)
|
||||||
{
|
{
|
||||||
if ((intermediateValueFile) && (level <= displayLevel)) {
|
if ((intermediateValueFile) && (level <= displayLevel)) {
|
||||||
fprintf(intermediateValueFile, text);
|
fprintf(intermediateValueFile, "%s", text);
|
||||||
fprintf(intermediateValueFile, "\n");
|
fprintf(intermediateValueFile, "\n");
|
||||||
fprintf(intermediateValueFile, "\n");
|
fprintf(intermediateValueFile, "\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user