Fixed strcmp
This commit is contained in:
parent
c9408a6107
commit
1dc81a964c
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <cstring>
|
||||||
#include "util/util.hpp"
|
#include "util/util.hpp"
|
||||||
|
|
||||||
namespace sf
|
namespace sf
|
||||||
|
@ -123,7 +124,7 @@ namespace sf
|
||||||
void IWindow::MessageLoop()
|
void IWindow::MessageLoop()
|
||||||
{
|
{
|
||||||
Create(m_oSize, m_oPosition, m_strTitle, m_uWindowFlags, m_uRenderFlags);
|
Create(m_oSize, m_oPosition, m_strTitle, m_uWindowFlags, m_uRenderFlags);
|
||||||
if (strcmp(m_pCurrentException, ""))
|
if (std::strcmp(m_pCurrentException, ""))
|
||||||
{
|
{
|
||||||
std::cerr << "ERROR: " << m_pCurrentException << std::endl;
|
std::cerr << "ERROR: " << m_pCurrentException << std::endl;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue