Utility/OBJParser: Fix mistake

Former-commit-id: 0e78ba2e8dbcbaa3891f2f789ffab854b7bd753e [formerly b7bbafa45b5e4e2ea4ffd0d796b24ce9ed007f58]
Former-commit-id: 60837af91b5e10d63ea4dfbe0fdec69ac3f97cfd
This commit is contained in:
Lynix 2016-07-08 08:38:34 +02:00
parent e4bdb3cdcb
commit 07c8cbd510
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)
{ {