File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5147,7 +5147,7 @@ void parse_prop(mission* /*pm*/)
51475147 }
51485148
51495149 if (Fred_running) {
5150- Warning (LOCATION, text.c_str ());
5150+ Warning (LOCATION, " %s " , text.c_str ());
51515151 } else {
51525152 mprintf ((" MISSIONS: %s" , text.c_str ()));
51535153 }
Original file line number Diff line number Diff line change @@ -5288,7 +5288,7 @@ int CFred_mission_save::save_props()
52885288
52895289 required_string_fred (" $Class:" );
52905290 parse_comments (2 );
5291- fout (" %s" , Prop_info[p->prop_info_index ].name );
5291+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
52925292
52935293 required_string_fred (" $Location:" );
52945294 parse_comments ();
Original file line number Diff line number Diff line change @@ -5481,7 +5481,7 @@ int CFred_mission_save::save_props()
54815481
54825482 required_string_fred (" $Class:" );
54835483 parse_comments (2 );
5484- fout (" %s" , Prop_info[p->prop_info_index ].name );
5484+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
54855485
54865486 required_string_fred (" $Location:" );
54875487 parse_comments ();
You can’t perform that action at this time.
0 commit comments