From 21517c3d40b031c5aed39ddbe15df1ee9afe803d Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Thu, 23 Jun 2005 16:17:04 +0000 Subject: [PATCH] (check_x_frame, check_x_display_info): Follow error conventions. --- src/w32fns.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/w32fns.c b/src/w32fns.c index 6a2f98c4c7..e9af1b8ce2 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -329,7 +329,7 @@ check_x_frame (frame) CHECK_LIVE_FRAME (frame); f = XFRAME (frame); if (! FRAME_W32_P (f)) - error ("non-w32 frame used"); + error ("Non-W32 frame used"); return f; } @@ -359,7 +359,7 @@ check_x_display_info (frame) CHECK_LIVE_FRAME (frame); f = XFRAME (frame); if (! FRAME_W32_P (f)) - error ("non-w32 frame used"); + error ("Non-W32 frame used"); return FRAME_W32_DISPLAY_INFO (f); } } @@ -7771,7 +7771,7 @@ typedef struct DWORD FlagsEx; } NEWOPENFILENAME; - + DEFUN ("x-file-dialog", Fx_file_dialog, Sx_file_dialog, 2, 5, 0, doc: /* Read file name, prompting with PROMPT in directory DIR. Use a file selection dialog. @@ -7823,7 +7823,7 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */) NEWOPENFILENAME new_file_details; BOOL file_opened = FALSE; OPENFILENAME * file_details = &new_file_details.real_details; - + /* Prevent redisplay. */ specbind (Qinhibit_redisplay, Qt); BLOCK_INPUT; -- 2.20.1