Ticket #9065: gmm-load_del_empty-v2_alternative.patch
File gmm-load_del_empty-v2_alternative.patch, 583 bytes (added by , 15 years ago) |
---|
-
gui/saveload.cpp
345 345 } 346 346 } 347 347 348 saveNames.push_back(x->description()); 348 // Show "Untitled savestate" for empty/whitespace savegame descriptions 349 Common::String description = x->description(); 350 Common::String trimmedDescription = description; 351 trimmedDescription.trim(); 352 if (trimmedDescription.empty()) 353 description = "Untitled savestate"; 354 355 saveNames.push_back(description); 349 356 curSlot++; 350 357 } 351 358