diff --git a/examples/osgtext/osgtext.cpp b/examples/osgtext/osgtext.cpp index eea44a304..ea51f9c4f 100644 --- a/examples/osgtext/osgtext.cpp +++ b/examples/osgtext/osgtext.cpp @@ -689,7 +689,7 @@ int main(int argc, char** argv) if (!operationThreads.empty()) { for(Threads::iterator itr = operationThreads.begin(); - itr != operationThreads.begin(); + itr != operationThreads.end(); ++itr) { (*itr)->cancel();