fix build error

This commit is contained in:
Vadim Lopatin 2016-01-25 15:53:28 +03:00
parent c5eeec6ea5
commit b306388fd6
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ class SDLPlatform : Platform {
} else {
// TODO: implement for POSIX
if (normalized.isFile)
normalized = normalized.basePath;
normalized = normalized.baseName;
string exe = "xdg-open";
string[] args;
args ~= exe;