From 5c52bb1f22838b223567201d65e7a9f76835ac9e Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 16 May 2001 00:32:28 +0000 Subject: [PATCH] Added a missing 'return' in case statement. --- src/Main/keyboard.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/keyboard.cxx b/src/Main/keyboard.cxx index 51ae40a7c..4b8d6556e 100644 --- a/src/Main/keyboard.cxx +++ b/src/Main/keyboard.cxx @@ -564,6 +564,7 @@ void GLUTspecialkey(int k, int x, int y) { return; case GLUT_KEY_F4: // F4 Update lighting manually fgUpdateSkyAndLightingParams(); + return; case GLUT_KEY_F6: // F6 toggles Autopilot target location if ( current_autopilot->get_HeadingMode() != FGAutopilot::FG_HEADING_WAYPOINT ) { -- 2.39.5