Changeset 6519 for branches

Show
Ignore:
Timestamp:
11/03/10 12:22:55 (2 years ago)
Author:
westram
Message:
  • quick save errors were dropped (no quicksave happened)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/stable_5.0/ARBDB/ad_save_load.c

    r6101 r6519  
    11191119    } 
    11201120 
    1121     if (!strcmp(path,Main->path)) return GB_save_quick(gb_main,path);   /* No rename */ 
    1122     if (gb_check_quick_save(gb_main)) return GB_get_error(); 
     1121    if (!strcmp(path,Main->path)) return GB_save_quick(gb_main,path); /* No rename */ 
     1122    { 
     1123        GB_ERROR error = gb_check_quick_save(gb_main); 
     1124        if (error) return error; 
     1125    } 
    11231126    if (gb_check_saveable(gb_main,path,"bn")) return GB_get_error(); 
    11241127 
     
    12041207 
    12051208    gb = (GBDATA *)Main->data; 
    1206     if (gb_check_quick_save(gb)) return GB_get_error(); 
     1209    { 
     1210        GB_ERROR error = gb_check_quick_save(gb); 
     1211        if (error) return error; 
     1212    } 
    12071213    if (gb_check_saveable(gb,refpath,"q")) return GB_get_error(); 
    12081214