--- Frodo4/Src/dlgFileSelect.cpp 2007/01/28 18:50:22 1.1 +++ Frodo4/Src/dlgFileSelect.cpp 2007/03/28 06:54:42 1.2 @@ -208,11 +208,11 @@ int SDLGui_FileSelect(char *path_and_nam File_ShrinkName(dlgfname, fname, 32); /* Save old mouse cursor state and enable cursor anyway */ - SCRLOCK; + screenlock(); oldcursorstate = SDL_ShowCursor(SDL_QUERY); if (oldcursorstate == SDL_DISABLE) SDL_ShowCursor(SDL_ENABLE); - SCRUNLOCK; + screenunlock(); do { if (reloaddir) { @@ -389,10 +389,10 @@ int SDLGui_FileSelect(char *path_and_nam while ((retbut != SGFSDLG_OKAY) && (retbut != SGFSDLG_CANCEL) && (retbut != -1)); - SCRLOCK; + screenlock(); if (oldcursorstate == SDL_DISABLE) SDL_ShowCursor(SDL_DISABLE); - SCRUNLOCK; + screenunlock(); { /* if user edited filename, use new one */