From 1a3a801857f642a0f34919cb4a8d387fe7a88f1d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 6 Feb 2009 15:27:41 +0000 Subject: [PATCH] From Gary Quinn, spelling fixes --- examples/osg2cpp/osg2cpp.cpp | 2 +- examples/osganimationtimeline/osganimationtimeline.cpp | 4 ++-- examples/osganimationviewer/AnimtkViewerKeyHandler.cpp | 4 ++-- examples/osgcluster/broadcaster.cpp | 2 +- examples/osgcluster/osgcluster.cpp | 4 ++-- examples/osggeodemo/osggeodemo.cpp | 2 +- examples/osgmemorytest/osgmemorytest.cpp | 4 ++-- examples/osgmultitexture/osgmultitexture.cpp | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/osg2cpp/osg2cpp.cpp b/examples/osg2cpp/osg2cpp.cpp index c0c4e2419..d7d4e7d3f 100644 --- a/examples/osg2cpp/osg2cpp.cpp +++ b/examples/osg2cpp/osg2cpp.cpp @@ -89,7 +89,7 @@ int main( int argc, char **argv ) } else { - std::cout<<"Error: could not found file '"<(root->getUpdateCallback()); if(!animationManager) { - std::cerr << "Did not found AnimationManagerBase updateCallback needed to animate elements" << std::endl; + std::cerr << "Did not find AnimationManagerBase updateCallback needed to animate elements" << std::endl; return 1; } diff --git a/examples/osganimationviewer/AnimtkViewerKeyHandler.cpp b/examples/osganimationviewer/AnimtkViewerKeyHandler.cpp index 4f5c5e6ff..5d05450df 100644 --- a/examples/osganimationviewer/AnimtkViewerKeyHandler.cpp +++ b/examples/osganimationviewer/AnimtkViewerKeyHandler.cpp @@ -37,8 +37,8 @@ void AnimtkKeyEventHandler::printUsage() const std::cout << (char) _actionKeys.find(Help)->second << " for Help" << std::endl; std::cout << (char) _actionKeys.find(List)->second << " for List" << std::endl; std::cout << (char) _actionKeys.find(Play)->second << " for Play" << std::endl; - std::cout << (char) _actionKeys.find(Next)->second << " for selext Next item" << std::endl; - std::cout << (char) _actionKeys.find(Prev)->second << " for selext Previous item" << std::endl; + std::cout << (char) _actionKeys.find(Next)->second << " for select Next item" << std::endl; + std::cout << (char) _actionKeys.find(Prev)->second << " for select Previous item" << std::endl; } diff --git a/examples/osgcluster/broadcaster.cpp b/examples/osgcluster/broadcaster.cpp index 885ca8da1..36de313b4 100644 --- a/examples/osgcluster/broadcaster.cpp +++ b/examples/osgcluster/broadcaster.cpp @@ -164,7 +164,7 @@ void Broadcaster::setHost( const char *hostname ) struct hostent *h; if( (h = gethostbyname( hostname )) == 0L ) { - fprintf( stderr, "Broadcaster::setHost() - Cannot resolv an address for \"%s\".\n", hostname ); + fprintf( stderr, "Broadcaster::setHost() - Cannot resolve an address for \"%s\".\n", hostname ); _address = 0; } else diff --git a/examples/osgcluster/osgcluster.cpp b/examples/osgcluster/osgcluster.cpp index f0ea857fa..523a8e856 100644 --- a/examples/osgcluster/osgcluster.cpp +++ b/examples/osgcluster/osgcluster.cpp @@ -413,7 +413,7 @@ void CameraPacket::readEventQueue(osgViewer::Viewer& viewer) void CameraPacket::writeEventQueue(osgViewer::Viewer& viewer) { - osg::notify(osg::INFO)<<"recieved events = "<<_events.size()<addCommandLineOption("-h or --help","Display this information"); arguments.getApplicationUsage()->addCommandLineOption("-m","Set viewer to MASTER mode, sending view via packets."); - arguments.getApplicationUsage()->addCommandLineOption("-s","Set viewer to SLAVE mode, reciving view via packets."); + arguments.getApplicationUsage()->addCommandLineOption("-s","Set viewer to SLAVE mode, receiving view via packets."); arguments.getApplicationUsage()->addCommandLineOption("-n ","Socket number to transmit packets"); arguments.getApplicationUsage()->addCommandLineOption("-f ","Field of view of camera"); arguments.getApplicationUsage()->addCommandLineOption("-o ","Offset angle of camera"); diff --git a/examples/osggeodemo/osggeodemo.cpp b/examples/osggeodemo/osggeodemo.cpp index d642cbcbb..32d247d9d 100644 --- a/examples/osggeodemo/osggeodemo.cpp +++ b/examples/osggeodemo/osggeodemo.cpp @@ -110,7 +110,7 @@ int main( int argc, char **argv ) osg::Node* rootnode = osgDB::readNodeFiles(arguments); if (!rootnode) { - osg::notify(osg::NOTICE)<<"Please specify and geo model filename on the command line."<write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); return 1; diff --git a/examples/osgmultitexture/osgmultitexture.cpp b/examples/osgmultitexture/osgmultitexture.cpp index 79b17780a..69b289b5e 100644 --- a/examples/osgmultitexture/osgmultitexture.cpp +++ b/examples/osgmultitexture/osgmultitexture.cpp @@ -51,7 +51,7 @@ int main( int argc, char **argv ) if (!rootnode) { - osg::notify(osg::NOTICE)<<"Please specify and model filename on the command line."<