From b0b5c2dda95d9d8298df4de89247cfb552c1034a Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 8 Mar 2006 20:23:31 +0000 Subject: [PATCH 1/1] remove useless test --- src/GUI/dialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 0ec2b9e4e..6d9dafe19 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -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); -- 2.39.2