From 524a847aa53b8ad0b5b1a77d35976bdae5bb79cc Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Tue, 17 Dec 2013 08:39:23 -0800 Subject: [PATCH] fix spelling error --- libraries/octree/src/OctreeScriptingInterface.cpp | 14 +++++++------- libraries/octree/src/OctreeScriptingInterface.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/octree/src/OctreeScriptingInterface.cpp b/libraries/octree/src/OctreeScriptingInterface.cpp index c324b94b3b..d72f2e7443 100644 --- a/libraries/octree/src/OctreeScriptingInterface.cpp +++ b/libraries/octree/src/OctreeScriptingInterface.cpp @@ -17,14 +17,14 @@ OctreeScriptingInterface::OctreeScriptingInterface(OctreeEditPacketSender* packe OctreeScriptingInterface::~OctreeScriptingInterface() { //printf("OctreeScriptingInterface::~OctreeScriptingInterface()\n"); - if (_managedJuridiciontListerner) { - //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJuridiciontListerner... _jurisdictionListener->terminate()\n"); + if (_managedJurisdictionListener) { + //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJurisdictionListener... _jurisdictionListener->terminate()\n"); _jurisdictionListener->terminate(); - //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJuridiciontListerner... deleting _jurisdictionListener\n"); + //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJurisdictionListener... deleting _jurisdictionListener\n"); delete _jurisdictionListener; } if (_managedPacketSender) { - //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJuridiciontListerner... _packetSender->terminate()\n"); + //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedJurisdictionListener... _packetSender->terminate()\n"); _packetSender->terminate(); //printf("OctreeScriptingInterface::~OctreeScriptingInterface() _managedPacketSender... deleting _packetSender\n"); delete _packetSender; @@ -42,11 +42,11 @@ void OctreeScriptingInterface::setJurisdictionListener(JurisdictionListener* jur void OctreeScriptingInterface::init() { //printf("OctreeScriptingInterface::init()\n"); if (_jurisdictionListener) { - _managedJuridiciontListerner = false; + _managedJurisdictionListener = false; } else { - _managedJuridiciontListerner = true; + _managedJurisdictionListener = true; _jurisdictionListener = new JurisdictionListener(getServerNodeType()); - //printf("OctreeScriptingInterface::init() _managedJuridiciontListerner=true, creating _jurisdictionListener=%p\n", _jurisdictionListener); + //printf("OctreeScriptingInterface::init() _managedJurisdictionListener=true, creating _jurisdictionListener=%p\n", _jurisdictionListener); _jurisdictionListener->initialize(true); } diff --git a/libraries/octree/src/OctreeScriptingInterface.h b/libraries/octree/src/OctreeScriptingInterface.h index 7eb0538ca2..b9466fb9e9 100644 --- a/libraries/octree/src/OctreeScriptingInterface.h +++ b/libraries/octree/src/OctreeScriptingInterface.h @@ -89,7 +89,7 @@ protected: OctreeEditPacketSender* _packetSender; JurisdictionListener* _jurisdictionListener; bool _managedPacketSender; - bool _managedJuridiciontListerner; + bool _managedJurisdictionListener; }; #endif /* defined(__hifi__OctreeScriptingInterface__) */