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 @@ -5061,7 +5061,7 @@ void parse_prop(mission* /*pm*/)
50615061 }
50625062
50635063 if (Fred_running) {
5064- Warning (LOCATION, text.c_str ());
5064+ Warning (LOCATION, " %s " , text.c_str ());
50655065 } else {
50665066 mprintf ((" MISSIONS: %s" , text.c_str ()));
50675067 }
Original file line number Diff line number Diff line change @@ -5278,7 +5278,7 @@ int CFred_mission_save::save_props()
52785278
52795279 required_string_fred (" $Class:" );
52805280 parse_comments (2 );
5281- fout (" %s" , Prop_info[p->prop_info_index ].name );
5281+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
52825282
52835283 required_string_fred (" $Location:" );
52845284 parse_comments ();
Original file line number Diff line number Diff line change @@ -5460,7 +5460,7 @@ int CFred_mission_save::save_props()
54605460
54615461 required_string_fred (" $Class:" );
54625462 parse_comments (2 );
5463- fout (" %s" , Prop_info[p->prop_info_index ].name );
5463+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
54645464
54655465 required_string_fred (" $Location:" );
54665466 parse_comments ();
You can’t perform that action at this time.
0 commit comments