Browse Source

Tested FilePath::isAbsolute() under Windows.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@89 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 years ago
parent
commit
d1cf0ac19c
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      filesystem.cpp

+ 2
- 1
filesystem.cpp View File

@@ -23,6 +23,7 @@
#ifdef _WIN32
#include <windows.h>
#include <Shlwapi.h>
#else
@@ -53,7 +54,7 @@ namespace CodeDweller {
bool FilePath::isAbsolute(std::string const &path) {
#ifdef _WIN32
return PathIsRelative(path.c_str());
return !PathIsRelative(path.c_str());
#else
if (path.empty()) {
return false;

Loading…
Cancel
Save