Fix build errors

This commit is contained in:
Ted John 2017-02-16 00:06:22 +00:00
parent 0542338d4d
commit 2fc5012670
3 changed files with 9 additions and 1 deletions

View File

@ -18,6 +18,7 @@
#include "../core/Exception.hpp"
#include "../interface/window.h"
#include "../network/network.h"
#include "Config.h"
#include "IniReader.h"
extern "C"

View File

@ -15,3 +15,10 @@
#pragma endregion
#pragma once
#include "../common.h"
extern "C"
{
bool config_open(const utf8 * path);
}

View File

@ -267,7 +267,7 @@ private:
{
inQuotes = 0;
}
else if (c == '\'' || c == '"' && !escaped)
else if ((c == '\'' || c == '"') && !escaped)
{
inQuotes = c;
}