Преглед изворни кода

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 година
родитељ
комит
d1cf0ac19c
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      filesystem.cpp

+ 2
- 1
filesystem.cpp Прегледај датотеку

@@ -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…
Откажи
Сачувај