aboutsummaryrefslogtreecommitdiffstats
path: root/c_utils.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c_utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_utils.go b/c_utils.go
index a2b420c..32969aa 100644
--- a/c_utils.go
+++ b/c_utils.go
@@ -70,7 +70,7 @@ func c_get_data_dir() string {
ptr = &home
*ptr += "/.local/share"
}
- *ptr += "/hardflip"
+ *ptr += "/" + DATA_DIR_NAME
if _, err := os.Stat(*ptr); os.IsNotExist(err) {
if err := os.MkdirAll(*ptr, os.ModePerm); err != nil {
c_die("could not create path " + *ptr, err)