Utility/OBJParser: Fix mistake

Former-commit-id: 33818e53f56d87be8138a0380d20aa3a79ddf5ae [formerly f7f5cafdeb378db42fe74bd983d3049b45a9f636]
Former-commit-id: 7e02c6e60c944941d2583ad8c96ac7c43ed66e94
This commit is contained in:
Lynix 2016-07-08 08:38:34 +02:00
parent 1d193ec74a
commit 9bd73098b1
1 changed files with 3 additions and 3 deletions

View File

@ -125,9 +125,9 @@ namespace Nz
for (unsigned int i = 0; i < vertexCount; ++i) for (unsigned int i = 0; i < vertexCount; ++i)
{ {
int offset; int offset;
std::size_t n = 0; int n = 0;
std::size_t p = 0; int p = 0;
std::size_t t = 0; int t = 0;
if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3) if (std::sscanf(&m_currentLine[pos], "%d/%d/%d%n", &p, &t, &n, &offset) != 3)
{ {