diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2020-04-20 21:51:58 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2020-04-20 21:52:07 +0200 |
| commit | 4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886 (patch) | |
| tree | 8d29721809a690acbbaa2efb56402f55eb6436c1 /src/platform/windows.c | |
| parent | d42414b65cdb0156a5a2064a08c894c19370d7a7 (diff) | |
| download | cc4group-4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886.tar.gz cc4group-4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886.zip | |
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
Diffstat (limited to 'src/platform/windows.c')
| -rw-r--r-- | src/platform/windows.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
