From 61b632c2f781cdabe52ff5dabce868f459dd7d60 Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 14 Mar 1998 00:32:13 +0000 Subject: [PATCH] Changed a printf() to a fgPrintf(). --- Cockpit/cockpit.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Cockpit/cockpit.c b/Cockpit/cockpit.c index 8b4b21f76..9066ab1ce 100644 --- a/Cockpit/cockpit.c +++ b/Cockpit/cockpit.c @@ -85,20 +85,24 @@ fgCOCKPIT *fgCockpitAddHUD( fgCOCKPIT *cockpit, HUD *hud ) void fgCockpitUpdate( void ) { - fgPrintf( FG_COCKPIT, FG_INFO, + fgPrintf( FG_COCKPIT, FG_DEBUG, "Cockpit: code %d status %d\n", aircraft_cockpit->code, aircraft_cockpit->status ); - if( aircraft_cockpit->hud != NULL ) // That is, if the aircraft has a HUD, - fgUpdateHUD( aircraft_cockpit->hud ); // then draw it. - + if( aircraft_cockpit->hud != NULL ) { + // That is, if the aircraft has a HUD, then draw it. + fgUpdateHUD( aircraft_cockpit->hud ); + } } /* $Log$ -/* Revision 1.10 1998/02/07 15:29:33 curt -/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss -/* +/* Revision 1.11 1998/03/14 00:32:13 curt +/* Changed a printf() to a fgPrintf(). /* + * Revision 1.10 1998/02/07 15:29:33 curt + * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss + * + * * Revision 1.9 1998/02/03 23:20:14 curt * Lots of little tweaks to fix various consistency problems discovered by * Solaris' CC. Fixed a bug in fg_debug.c with how the fgPrintf() wrapper -- 2.39.2