--- a/src/primitives.cpp Sat Aug 03 12:31:36 2013 +0300 +++ b/src/primitives.cpp Tue Aug 06 13:32:07 2013 +0300 @@ -45,7 +45,7 @@ loadPrimitiveCatgories(); // Try to load prims.cfg - File conf (config::dirpath() + "prims.cfg", File::Read); + File conf (config::filepath ("prims.cfg"), File::Read); if (!conf) { // No prims.cfg, build it @@ -124,7 +124,7 @@ } // Save to a config file - File conf (config::dirpath() + "prims.cfg", File::Write); + File conf (config::filepath ("prims.cfg"), File::Write); for (Primitive & info : m_prims) fprint (conf, "%1 %2\n", info.name, info.title);