Improved Error system

Former-commit-id: ddd08841d30575713f4a28ac02566f92791e5539
This commit is contained in:
Lynix
2013-09-25 09:29:25 +02:00
parent 672cbaed1d
commit a410e8856a
16 changed files with 199 additions and 51 deletions

View File

@@ -34,7 +34,7 @@ bool NzCursorImpl::Create(const NzImage& cursor, int hotSpotX, int hotSpotY)
if (!m_cursor)
{
NazaraError("Failed to create cursor: " + NzGetLastSystemError());
NazaraError("Failed to create cursor: " + NzError::GetLastSystemError());
return false;
}

View File

@@ -31,7 +31,7 @@ bool NzIconImpl::Create(const NzImage& icon)
if (!m_icon)
{
NazaraError("Failed to create icon: " + NzGetLastSystemError());
NazaraError("Failed to create icon: " + NzError::GetLastSystemError());
return false;
}