changeset 2627:cf6ef27aa9a7

[xemacs-hg @ 2005-03-02 13:06:38 by aidan] Make the #ifndef HAVE_XTREGISTERDRAWABLE msg polite, have it compile.
author aidan
date Wed, 02 Mar 2005 13:06:40 +0000
parents 2d9d73aaa3fc
children 63a49b9b070c
files src/ChangeLog src/select-x.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Mar 01 22:51:30 2005 +0000
+++ b/src/ChangeLog	Wed Mar 02 13:06:40 2005 +0000
@@ -1,3 +1,10 @@
+2005-03-02  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* select-x.c (x_reply_selection_request): Make the error message
+	in the absence of HAVE_XTREGISTERDRAWABLE more polite, pass a
+	second argument to invalid_operation to have it actually compile
+	in that case. 
+
 2005-03-01  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* config.h.in: New macro, HAVE_XTREGISTERDRAWABLE. 
--- a/src/select-x.c	Tue Mar 01 22:51:30 2005 +0000
+++ b/src/select-x.c	Wed Mar 02 13:06:40 2005 +0000
@@ -528,8 +528,7 @@
   else
     {
 #ifndef HAVE_XTREGISTERDRAWABLE
-      invalid_operation("your Xt library sucks too much to transfer this "
-			"much data!");
+      invalid_operation("Copying that much data requires X11R6.", Qunbound);
 #else
       /* Send an INCR selection. */
       int prop_id;