Show
Ignore:
Timestamp:
09/01/08 12:19:06 (6 years ago)
Author:
robert
Message:

Removed std:: from in front of strcmp and added a string.h

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgviewerGTK/osgviewerGTK.cpp

    r8294 r8810  
     1#include <string.h> 
     2 
    13#include <iostream> 
    24#include <string> 
     
    5153        ); 
    5254 
    53         if(not std::strncmp(text, "Close", 5)) gtk_main_quit(); 
     55        if(not strncmp(text, "Close", 5)) gtk_main_quit(); 
    5456     
    55         else if(not std::strncmp(text, "Open File", 9)) { 
     57        else if(not strncmp(text, "Open File", 9)) { 
    5658            GtkWidget* of = gtk_file_chooser_dialog_new( 
    5759                "Please select an OSG file...",