Skip to content

Commit

Permalink
From Gary Quinn, spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Feb 6, 2009
1 parent 92641f2 commit d53f7f0
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/osg2cpp/osg2cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int main( int argc, char **argv )
}
else
{
std::cout<<"Error: could not found file '"<<filename<<"'"<<std::endl;
std::cout<<"Error: could not find file '"<<filename<<"'"<<std::endl;
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions examples/osganimationtimeline/osganimationtimeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct ExampleTimelineUsage : public osgGA::GUIEventHandler

int main (int argc, char* argv[])
{
std::cerr << "This example workd only with osgAnimation/nathan.osg" << std::endl;
std::cerr << "This example works only with osgAnimation/nathan.osg" << std::endl;

osg::ArgumentParser psr(&argc, argv);

Expand All @@ -172,7 +172,7 @@ int main (int argc, char* argv[])
osgAnimation::AnimationManagerBase* animationManager = dynamic_cast<osgAnimation::AnimationManagerBase*>(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;
}

Expand Down
4 changes: 2 additions & 2 deletions examples/osganimationviewer/AnimtkViewerKeyHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down
2 changes: 1 addition & 1 deletion examples/osgcluster/broadcaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/osgcluster/osgcluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ void CameraPacket::readEventQueue(osgViewer::Viewer& viewer)

void CameraPacket::writeEventQueue(osgViewer::Viewer& viewer)
{
osg::notify(osg::INFO)<<"recieved events = "<<_events.size()<<std::endl;
osg::notify(osg::INFO)<<"received events = "<<_events.size()<<std::endl;

viewer.getEventQueue()->appendEvents(_events);
}
Expand All @@ -437,7 +437,7 @@ int main( int argc, char **argv )
arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ...");
arguments.getApplicationUsage()->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 <int>","Socket number to transmit packets");
arguments.getApplicationUsage()->addCommandLineOption("-f <float>","Field of view of camera");
arguments.getApplicationUsage()->addCommandLineOption("-o <float>","Offset angle of camera");
Expand Down
2 changes: 1 addition & 1 deletion examples/osggeodemo/osggeodemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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."<<std::endl;
osg::notify(osg::NOTICE)<<"Please specify a geo model filename on the command line."<<std::endl;
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions examples/osgmemorytest/osgmemorytest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class ContextTest : public MemoryTest
}
else
{
std::cerr<<"Error: Unable to create graphis context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot create windows/pbuffers."<<std::endl;
std::cerr<<"Error: Unable to create graphics context, problem with running osgViewer-"<<osgViewerGetVersion()<<", cannot create windows/pbuffers."<<std::endl;

if (_pbuffer) throw "Failed to create PixelBuffer";
else throw "Failed to create GraphicsWindow";
Expand Down Expand Up @@ -406,7 +406,7 @@ int main( int argc, char **argv )
{
if (glMemoryTests.empty())
{
std::cout<<"Not tests specified, please specify test using the command line options below."<<std::endl<<std::endl;
std::cout<<"No tests specified, please specify test using the command line options below."<<std::endl<<std::endl;

arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION);
return 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/osgmultitexture/osgmultitexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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."<<std::endl;
osg::notify(osg::NOTICE)<<"Please specify a model filename on the command line."<<std::endl;
return 1;
}

Expand Down

0 comments on commit d53f7f0

Please sign in to comment.