]> git.mxchange.org Git - flightgear.git/commitdiff
remove useless test
authormfranz <mfranz>
Wed, 8 Mar 2006 20:23:31 +0000 (20:23 +0000)
committermfranz <mfranz>
Wed, 8 Mar 2006 20:23:31 +0000 (20:23 +0000)
src/GUI/dialog.cxx

index 0ec2b9e4e334724125c744262c7388e046af379a..6d9dafe19a742a2237fc1855f40fe22e52c5a76e 100644 (file)
@@ -748,7 +748,7 @@ FGDialog::setupObject (puObject * object, SGPropertyNode * props)
                 j++;
 
             const char *cmd = bindings[i]->getStringValue("command");
-            if (!strcmp(cmd, "nasal") && _module[0])
+            if (!strcmp(cmd, "nasal"))
                 bindings[i]->setStringValue("module", _module.c_str());
 
             binding = dest->getChild("binding", j, true);