1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Forgot to inlcude the INI entries in the previous commit.

This commit is contained in:
Sandu Liviu Catalin 2016-03-23 00:26:16 +02:00
parent 9d9ec20fe8
commit 61be27890c

View File

@ -65,7 +65,7 @@ CSStr Entries::GetItem() const
{
// is the current element valid?
if (m_List.empty() || m_Elem == m_List.end())
SqThrowF("Invalid INI entry [item]");
STHROWF("Invalid INI entry [item]");
// Return the requested information
return m_Elem->pItem;
}
@ -75,7 +75,7 @@ CSStr Entries::GetComment() const
{
// is the current element valid?
if (m_List.empty() || m_Elem == m_List.end())
SqThrowF("Invalid INI entry [comment]");
STHROWF("Invalid INI entry [comment]");
// Return the requested information
return m_Elem->pComment;
}
@ -85,7 +85,7 @@ Int32 Entries::GetOrder() const
{
// is the current element valid?
if (m_List.empty() || m_Elem == m_List.end())
SqThrowF("Invalid INI entry [order]");
STHROWF("Invalid INI entry [order]");
// Return the requested information
return m_Elem->nOrder;
}