Removed unsafe functions

This commit is contained in:
andreja6
2018-11-01 13:52:11 -07:00
parent d51bde7330
commit 69d78f139f
2 changed files with 4 additions and 4 deletions

View File

@@ -67,9 +67,9 @@ void DataModelInstance::drawMessage(RenderDevice* rd)
}
}
char brkc[12];
sprintf(brkc, "%d", brickCount);
sprintf_s(brkc, "%d", brickCount);
char instc[12];
sprintf(instc, "%d", instCount);
sprintf_s(instc, "%d", instCount);
message = "Bricks: ";
message += brkc;
message += " Snaps: ";