mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
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:
parent
397660b06d
commit
6988bf34c2
60 changed files with 577 additions and 513 deletions
|
@ -53,7 +53,7 @@
|
|||
{
|
||||
Class glPixelFormatClass = [GSCurrentServer() glPixelFormatClass];
|
||||
|
||||
if ( glPixelFormatClass == nil )
|
||||
if (glPixelFormatClass == nil)
|
||||
{
|
||||
NSWarnMLog(@"Backend doesn't have any glPixelFormatClass");
|
||||
return nil;
|
||||
|
@ -67,7 +67,7 @@
|
|||
|
||||
// + (void) initialize
|
||||
// {
|
||||
// if ( self == [NSOpenGLPixelFormat class] )
|
||||
// if (self == [NSOpenGLPixelFormat class])
|
||||
// {
|
||||
// temp = (GSGLPixelFormat *) NSAllocateObject([GSGLPixelFormat class], 0,
|
||||
// NSDefaultMallocZone());
|
||||
|
@ -77,7 +77,7 @@
|
|||
+ allocWithZone: (NSZone *) z
|
||||
{
|
||||
Class c = [self _classPixelFormat];
|
||||
if ( c )
|
||||
if (c)
|
||||
return NSAllocateObject(c, 0, z);
|
||||
else
|
||||
return nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue