X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fcommon%2Ffile.cpp;h=076752d0a4ba4c5992ea0fa75f5960d62ffafe1c;hp=783defc6b29e1981b782c09846c8b5a45037a5ab;hb=22339c898f8c04af609419f036828323b26f480f;hpb=d4b44cdc2002d9214a0ae2528be8b1cab14c5120 diff --git a/source/common/file.cpp b/source/common/file.cpp index 783defc..076752d 100644 --- a/source/common/file.cpp +++ b/source/common/file.cpp @@ -20,15 +20,15 @@ using namespace std; -bool FileExists(std::string Filename){ +bool FileExists(std::string filename){ #if defined (__WIN32__) #else - struct stat BuffData; + struct stat bufferData; - if (stat(Filename.c_str(), &BuffData) == -1){ + if (stat(filename.c_str(), &bufferData) == -1){ return false; }