Index: Source/NSPageLayout.m
===================================================================
--- Source/NSPageLayout.m	(revision 25519)
+++ Source/NSPageLayout.m	(working copy)
@@ -543,13 +543,13 @@
 - (void) okButtonClicked: (id)sender
 {
   [self writePrintInfo];
-  [NSApp stopModalWithCode: NSPLOKButton];
+  [NSApp stopModalWithCode: NSOKButton];
 }
 
 
 - (void) cancelButtonClicked: (id)sender
 {
-  [NSApp stopModalWithCode: NSPLCancelButton];
+  [NSApp stopModalWithCode: NSCancelButton];
 }
 
 
