Commit 5ec7cfef authored by gabime's avatar gabime

Merge branch 'master' of https://github.com/gabime/spdlog

parents a05ba786 d58432ff
......@@ -150,7 +150,7 @@ inline bool file_exists(const std::string& filename)
return (attribs != INVALID_FILE_ATTRIBUTES && !(attribs & FILE_ATTRIBUTE_DIRECTORY));
#else
struct stat buffer;
return (stat (name.c_str(), &buffer) == 0);
return (stat (filename.c_str(), &buffer) == 0);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment