cosmetics: subc isn't really a sub-context here (it was where I copied it
from) --> s/subc/c/
This commit is contained in:
parent
32968d81f3
commit
0d48631e3a
1 changed files with 5 additions and 5 deletions
|
@ -117,11 +117,11 @@ public:
|
|||
|
||||
void valueChanged(SGPropertyNode* node) {
|
||||
_nas->_cmdArg = node;
|
||||
naContext subc = naNewContext();
|
||||
naCall(subc, _handler, 0, 0, naNil(), naNil());
|
||||
if(naGetError(subc))
|
||||
_nas->logError(subc);
|
||||
naFreeContext(subc);
|
||||
naContext c = naNewContext();
|
||||
naCall(c, _handler, 0, 0, naNil(), naNil());
|
||||
if(naGetError(c))
|
||||
_nas->logError(c);
|
||||
naFreeContext(c);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue