summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2013-05-04 20:02:58 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2013-05-04 20:02:58 +0200
commit4bac87165d5274b1512b7f9fe1f67cc454488988 (patch)
treea008107dedf75211a49795a1155bbb2b1afe9d78
parent7c744c0c1119f3da1ff3bdf12d7be4c782109fb3 (diff)
Fixed compile error on WIN32.
-rw-r--r--plugingui/filebrowser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/filebrowser.cc b/plugingui/filebrowser.cc
index d429a21..26d58b1 100644
--- a/plugingui/filebrowser.cc
+++ b/plugingui/filebrowser.cc
@@ -78,7 +78,7 @@ static void changeDir(void *ptr) {
INFO(filebrowser, "Changing path to '%s'\n", (dir->path() + "/" + value).c_str());
#ifdef WIN32
- if(!value.empty() && dir->isRoot()) {
+ if(!value.empty() && Directory::isRoot(dir->path())) {
dir->setPath(value);
return;
}