Fixed typo

0.8
Bruno Van de Velde 2017-09-01 13:10:35 +02:00
parent 8aa3d56b86
commit 129e2b7b86
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ namespace tgui
{
char* buffer;
#ifdef SFML_SYSTEM_WINDOWS
if ((filename.size() > 1) && (resourcePath[0] != '/') && (resourcePath[0] != '\\') && (resourcePath[1] != ':'))
if ((resourcePath.size() > 1) && (resourcePath[0] != '/') && (resourcePath[0] != '\\') && (resourcePath[1] != ':'))
resourcePath = getResourcePath() + resourcePath;
buffer = _fullpath(nullptr, resourcePath.c_str(), 512);