changeset 91931:f7cf6a90e284

(Fx_show_tip): Set string to " " if empty.
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 18 Feb 2008 08:08:23 +0000
parents 9974c43b4820
children d939d46e41a8
files src/xfns.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Mon Feb 18 07:46:44 2008 +0000
+++ b/src/xfns.c	Mon Feb 18 08:08:23 2008 +0000
@@ -5317,6 +5317,9 @@
   GCPRO4 (string, parms, frame, timeout);
 
   CHECK_STRING (string);
+  if (SCHARS (string) == 0)
+    string = make_unibyte_string (" ", 1);
+
   f = check_x_frame (frame);
   if (NILP (timeout))
     timeout = make_number (5);