From: mfranz Date: Wed, 8 Mar 2006 20:23:31 +0000 (+0000) Subject: remove useless test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0b5c2dda95d9d8298df4de89247cfb552c1034a;hp=6867462210515d94e6dbac0217a544e1f4899bae;p=flightgear.git remove useless test --- 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);