From 694426c103e43f9d9708cf66f8643ee77d878ea4 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 23 Oct 2005 12:32:15 +0000 Subject: [PATCH] make use of the new removeChildren() --- src/Input/input.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Input/input.cxx b/src/Input/input.cxx index 2414d984d..14aaf5a4f 100644 --- a/src/Input/input.cxx +++ b/src/Input/input.cxx @@ -486,8 +486,7 @@ FGInput::_init_joystick () } // get rid of unused config nodes - for (unsigned int m = 0; m < js_named.size(); m++) - js_nodes->removeChild("js-named", js_named[m]->getIndex(), false); + js_nodes->removeChildren("js-named", false); } -- 2.39.5