208 |
|
File_ShrinkName(dlgfname, fname, 32); |
209 |
|
|
210 |
|
/* Save old mouse cursor state and enable cursor anyway */ |
211 |
< |
SCRLOCK; |
211 |
> |
screenlock(); |
212 |
|
oldcursorstate = SDL_ShowCursor(SDL_QUERY); |
213 |
|
if (oldcursorstate == SDL_DISABLE) |
214 |
|
SDL_ShowCursor(SDL_ENABLE); |
215 |
< |
SCRUNLOCK; |
215 |
> |
screenunlock(); |
216 |
|
|
217 |
|
do { |
218 |
|
if (reloaddir) { |
389 |
|
while ((retbut != SGFSDLG_OKAY) && (retbut != SGFSDLG_CANCEL) |
390 |
|
&& (retbut != -1)); |
391 |
|
|
392 |
< |
SCRLOCK; |
392 |
> |
screenlock(); |
393 |
|
if (oldcursorstate == SDL_DISABLE) |
394 |
|
SDL_ShowCursor(SDL_DISABLE); |
395 |
< |
SCRUNLOCK; |
395 |
> |
screenunlock(); |
396 |
|
|
397 |
|
{ |
398 |
|
/* if user edited filename, use new one */ |