--- hatari/src/gui-sdl/dlgDisk.c 2019/04/01 07:13:51 1.1.1.1 +++ hatari/src/gui-sdl/dlgDisk.c 2019/04/01 07:14:19 1.1.1.2 @@ -4,7 +4,7 @@ This file is distributed under the GNU Public License, version 2 or at your option any later version. Read the file gpl.txt for details. */ -const char DlgDisk_rcsid[] = "Hatari $Id: dlgDisk.c,v 1.1.1.1 2019/04/01 07:13:51 root Exp $"; +const char DlgDisk_rcsid[] = "Hatari $Id: dlgDisk.c,v 1.1.1.2 2019/04/01 07:14:19 root Exp $"; #include #include "main.h" @@ -139,7 +139,7 @@ static BOOL DlgDisk_BrowseDir(char *dlgn strcpy(confname, selname); free(selname); - str = strrchr(confname, '/'); + str = strrchr(confname, PATHSEP); if (str != NULL) str[1] = 0; File_CleanFileName(confname);