Sometime ago I asked what keys ppl would prefer, made the changes now to reflect...
[supertux.git] / src / title.cpp
index 98be258..feb8104 100644 (file)
@@ -192,7 +192,7 @@ void check_levels_contrib_menu()
 
     std::string map_filename = *it;
 
-    worldmap.loadmap(map_filename);
+    worldmap.set_map_filename(map_filename);
 
     // hack to erase the extension
     unsigned int ext_pos = it->find_last_of(".");
@@ -391,8 +391,8 @@ void title(void)
               if(event.key.keysym.sym == SDLK_DELETE)
                 {
                 int slot = menu->get_active_item_id();
-               std::stringstream stream;
-               stream << slot;
+                std::stringstream stream;
+                stream << slot;
                 std::string str = _("Are you sure you want to delete slot") + stream.str() + "?";
                 
                 if(confirm_dialog(bkg_title, str.c_str()))