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) {
|
void valueChanged(SGPropertyNode* node) {
|
||||||
_nas->_cmdArg = node;
|
_nas->_cmdArg = node;
|
||||||
naContext subc = naNewContext();
|
naContext c = naNewContext();
|
||||||
naCall(subc, _handler, 0, 0, naNil(), naNil());
|
naCall(c, _handler, 0, 0, naNil(), naNil());
|
||||||
if(naGetError(subc))
|
if(naGetError(c))
|
||||||
_nas->logError(subc);
|
_nas->logError(c);
|
||||||
naFreeContext(subc);
|
naFreeContext(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Reference in a new issue