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 @@ -4972,7 +4972,7 @@ void parse_prop(mission* /*pm*/)
49724972 }
49734973
49744974 if (Fred_running) {
4975- Warning (LOCATION, text.c_str ());
4975+ Warning (LOCATION, " %s " , text.c_str ());
49764976 } else {
49774977 mprintf ((" MISSIONS: %s" , text.c_str ()));
49784978 }
Original file line number Diff line number Diff line change @@ -5247,7 +5247,7 @@ int CFred_mission_save::save_props()
52475247
52485248 required_string_fred (" $Class:" );
52495249 parse_comments (2 );
5250- fout (" %s" , Prop_info[p->prop_info_index ].name );
5250+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
52515251
52525252 required_string_fred (" $Location:" );
52535253 parse_comments ();
Original file line number Diff line number Diff line change @@ -5429,7 +5429,7 @@ int CFred_mission_save::save_props()
54295429
54305430 required_string_fred (" $Class:" );
54315431 parse_comments (2 );
5432- fout (" %s" , Prop_info[p->prop_info_index ].name );
5432+ fout (" %s" , Prop_info[p->prop_info_index ].name . c_str () );
54335433
54345434 required_string_fred (" $Location:" );
54355435 parse_comments ();
You can’t perform that action at this time.
0 commit comments