From 4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 20 Apr 2020 21:51:58 +0200 Subject: Rework group saving save / saveParent write back to the original group saveParent saves changes in child groups (openAsChild) by saving the top-most parent saveAs / saveAsOverwrite resembles the old save / saveOverwrite For all other saving methods, groups opend with openAsChild are saved as if there was no parent --- src/platform/windows.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/platform/windows.c') diff --git a/src/platform/windows.c b/src/platform/windows.c index 53d5038..96678ab 100644 --- a/src/platform/windows.c +++ b/src/platform/windows.c @@ -97,5 +97,11 @@ int cc4group_munmap(void *addr, size_t length) return 0; } +char* cc4group_absolutePath(const char* path) +{ + return _fullpath(NULL, path, 0); +} + + #undef DWORD_HI #undef DWORD_LO -- cgit v1.2.3-54-g00ecf