diff options
Diffstat (limited to 'osdep/path-macosx.m')
-rw-r--r-- | osdep/path-macosx.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/path-macosx.m b/osdep/path-macosx.m index 618f2038c8..52e2a2c771 100644 --- a/osdep/path-macosx.m +++ b/osdep/path-macosx.m @@ -28,5 +28,7 @@ const char *mp_get_platform_path_osx(void *talloc_ctx, const char *type) [pool release]; return res; } + if (strcmp(type, "desktop") == 0) + return mp_path_join(talloc_ctx, bstr0(getenv("HOME")), bstr0("Desktop")); return NULL; } |