ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/dlgFileSelect.cpp
(Generate patch)

Comparing Frodo4/Src/dlgFileSelect.cpp (file contents):
Revision 1.1 by berlac, 2007-01-28T18:50:22Z vs.
Revision 1.2 by berlac, 2007-03-28T06:54:42Z

# Line 208 | Line 208 | int SDLGui_FileSelect(char *path_and_nam
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) {
# Line 389 | Line 389 | int SDLGui_FileSelect(char *path_and_nam
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines