aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-02-06 19:52:33 +1000
committerDavid Walter Seikel2016-02-06 19:52:33 +1000
commita8cddde41e8682fb32832826c8ec5dbdf3c7871f (patch)
tree779b5df71c623e9d6933e89190b86678bb65f2a6 /src/LuaSL
parentTODO++ (diff)
downloadSledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.zip
SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.gz
SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.bz2
SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.xz
Put the ~/.SledHamr/ creation code into all three main binaries. sigh
Diffstat (limited to '')
-rw-r--r--src/LuaSL/LuaSL_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/LuaSL/LuaSL_main.c b/src/LuaSL/LuaSL_main.c
index 0e70fe4..c28fe4a 100644
--- a/src/LuaSL/LuaSL_main.c
+++ b/src/LuaSL/LuaSL_main.c
@@ -328,7 +328,13 @@ int main(int argc, char **argv)
328 328
329 if (eina_init()) 329 if (eina_init())
330 { 330 {
331 char temp[PATH_MAX];
332
331 logDom = HamrTime(argv[0], main, logDom); 333 logDom = HamrTime(argv[0], main, logDom);
334 // Create our home directories, if not already created.
335 // This should be in HamrTime, bit I had a HardTime getting LumbrJack to link to ecore-file.
336 sprintf(temp, "%s/.SledjHamr", eina_environment_home_get());
337 ecore_file_mksubdirs(temp, dirs);
332 ourGlobals.names = eina_hash_string_superfast_new(NULL); 338 ourGlobals.names = eina_hash_string_superfast_new(NULL);
333 if (ecore_init()) 339 if (ecore_init())
334 { 340 {