summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 54d26d9..bc2015a 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -113,7 +113,7 @@ int main(int argc, char * argv[])
numx = viewx/onex;
numy = viewy/oney;
char * homedir = getenv("HOME");
- char * bla = g_strconcat(homedir,"/.bdm/wallpaper.list");
+ char * bla = g_strconcat(homedir,"/.bdm/wallpaper.list",NULL);
FILE * file = fopen(bla,"r");
char * filenames;