Cleanup.
This commit is contained in:
parent
0c1fb8d7ce
commit
000c75539c
@ -444,7 +444,7 @@ namespace entry
|
|||||||
const float centerY = (screenRect.size.height - (float)ENTRY_DEFAULT_HEIGHT)*0.5f;
|
const float centerY = (screenRect.size.height - (float)ENTRY_DEFAULT_HEIGHT)*0.5f;
|
||||||
|
|
||||||
m_windowAlloc.alloc();
|
m_windowAlloc.alloc();
|
||||||
NSRect rect = NSMakeRect(centerX, centerY, 1.0f, 1.0f);
|
NSRect rect = NSMakeRect(centerX, centerY, ENTRY_DEFAULT_WIDTH, ENTRY_DEFAULT_HEIGHT);
|
||||||
NSWindow* window = [[NSWindow alloc]
|
NSWindow* window = [[NSWindow alloc]
|
||||||
initWithContentRect:rect
|
initWithContentRect:rect
|
||||||
styleMask:m_style
|
styleMask:m_style
|
||||||
|
Loading…
x
Reference in New Issue
Block a user