summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-11-18 19:45:56 +0100
committerDennis Kasprzyk <onestone@compiz-fusion.org>2009-11-18 19:45:56 +0100
commit4dfbf26ac81c8049831a77718d7a718aea33a8f5 (patch)
tree5c163b13a8b88c2cba0e6816f31d2d70254ac8e8 /src/screen.cpp
parentac34a0bf81c7a4edb39002040d99841d4ac2d8ae (diff)
downloadunity-window-decorator-4dfbf26ac81c8049831a77718d7a718aea33a8f5.tar.gz
unity-window-decorator-4dfbf26ac81c8049831a77718d7a718aea33a8f5.tar.bz2
Fixed image paths.
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 13734ff..0a85e87 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -1025,6 +1025,7 @@ CompScreen::readImageFromFile (CompString &name,
path = home;
path += "/";
path += HOME_IMAGEDIR;
+ path += "/";
path += name;
status = fileToImage (path, size, stride, data);
@@ -1033,7 +1034,9 @@ CompScreen::readImageFromFile (CompString &name,
return true;
}
- path = IMAGEDIR + name;
+ path = IMAGEDIR;
+ path += "/";
+ path += name;
status = fileToImage (path, size, stride, data);
}