1
0
Fork 0

Patch from Julian Foad:

Remove unused variable.
This commit is contained in:
david 2002-06-28 17:59:30 +00:00
parent 72fbb0f3f5
commit cd59f77c40

View file

@ -778,8 +778,6 @@ void NewTgtAirportInit()
SG_LOG( SG_AUTOPILOT, SG_INFO, " enter NewTgtAirportInit()" ); SG_LOG( SG_AUTOPILOT, SG_INFO, " enter NewTgtAirportInit()" );
sprintf( NewTgtAirportId, "%s", fgGetString("/sim/startup/airport-id") ); sprintf( NewTgtAirportId, "%s", fgGetString("/sim/startup/airport-id") );
SG_LOG( SG_AUTOPILOT, SG_INFO, " NewTgtAirportId " << NewTgtAirportId ); SG_LOG( SG_AUTOPILOT, SG_INFO, " NewTgtAirportId " << NewTgtAirportId );
int len = 150
- puGetDefaultLabelFont().getStringWidth( NewTgtAirportLabel ) / 2;
TgtAptDialog = new puDialogBox (150, 350); TgtAptDialog = new puDialogBox (150, 350);
{ {