Grab the original (hopefully you have it stored locally) wp-settings.php and upload it to the correct location on the server.
As far as the other blog overwriting the file, you might want to change to multi-sites or ensure the blogs are totally separated in different folders.