Skip to content

Commit

Permalink
Minor code formatting changes for OSX simplewindow2 demo
Browse files Browse the repository at this point in the history
  • Loading branch information
graemeg committed Oct 24, 2019
1 parent 5940754 commit 6505dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prototypes/macos/simplewindow2.pas
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
appName := NSSTR('Simple Window 2 demo 2');
quitTitle := NSSTR('Quit ').stringByAppendingString(appName);
quitMenuItem := NSMenuItem.alloc.initWithTitle_action_keyEquivalent(quitTitle,
sel_registerName(PChar('terminate:')),
NSSTR('q'));
sel_registerName(PChar('terminate:')),
NSSTR('q'));
appMenu.addItem(quitMenuItem);
appMenuitem.setSubmenu(appMenu);
window := NSWindow.alloc.initWithContentRect_styleMask_backing_defer(NSMakeRect(0, 0, 200, 200),
Expand Down

0 comments on commit 6505dd2

Please sign in to comment.