Fix a typo breaking Mac build.

This commit is contained in:
James Turner 2013-12-15 20:55:02 +00:00
parent 2edbb1cf8b
commit 1ecccd43d4

View File

@ -677,7 +677,7 @@ SGPath SGPath::desktop(const SGPath& def)
unsigned char path[1024];
if (FSRefMakePath(&ref, path, 1024) != noErr)
return def
return def;
return SGPath((const char*) path, def._permission_checker);
}