aboutsummaryrefslogtreecommitdiffstats
path: root/c_utils.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-20 20:20:20 +0100
commitff175485ded07205da5b52919e8be04f89643a28 (patch)
treead7c4904e90165981c2e4470f3bb7ad915fecf70 /c_utils.go
parentdelete (diff)
downloadhardflip-ff175485ded07205da5b52919e8be04f89643a28.tar.gz
hardflip-ff175485ded07205da5b52919e8be04f89643a28.tar.bz2
hardflip-ff175485ded07205da5b52919e8be04f89643a28.tar.xz
hardflip-ff175485ded07205da5b52919e8be04f89643a28.tar.zst
hardflip-ff175485ded07205da5b52919e8be04f89643a28.zip
paging in progress
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)