Changeset 6519 for branches/stable_5.0/ARBDB/ad_save_load.c
- Timestamp:
- 11/03/10 12:22:55 (2 years ago)
- Files:
-
- 1 modified
-
branches/stable_5.0/ARBDB/ad_save_load.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable_5.0/ARBDB/ad_save_load.c
r6101 r6519 1119 1119 } 1120 1120 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 } 1123 1126 if (gb_check_saveable(gb_main,path,"bn")) return GB_get_error(); 1124 1127 … … 1204 1207 1205 1208 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 } 1207 1213 if (gb_check_saveable(gb,refpath,"q")) return GB_get_error(); 1208 1214
