Coding style fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-11-16 11:34:25 +00:00
parent 397660b06d
commit 6988bf34c2
60 changed files with 577 additions and 513 deletions

View file

@ -107,7 +107,7 @@
*/
- (NSOpenGLContext*)openGLContext
{
if ( glcontext == nil )
if (glcontext == nil)
{
glcontext = [[NSOpenGLContext alloc] initWithFormat: pixel_format
shareContext: nil];
@ -181,12 +181,12 @@
- (void) lockFocusInRect: (NSRect) aRect
{
[super lockFocusInRect: aRect];
if ( !glcontext )
if (!glcontext)
{
[self openGLContext];
NSAssert(glcontext, NSInternalInconsistencyException);
}
if ( attached == NO && glcontext != nil )
if (attached == NO && glcontext != nil)
{
NSDebugMLLog(@"GL", @"Attaching context to the view");
[glcontext setView: self];