Show
Ignore:
Timestamp:
03/05/15 11:53:28 (69 minutes ago)
Author:
robert
Message:

Added check for newline at end of version line, and of it's not add a '\n'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/api/Carbon/GraphicsWindowCarbon

    r11357 r13130  
    4949                getState()->setGraphicsContext(this); 
    5050 
    51                 if (_traits.valid() && _traits->sharedContext) 
     51                if (_traits.valid() && _traits->sharedContext.valid()) 
    5252                { 
    5353                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );