aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJan Djärv2008-02-18 08:08:32 +0000
committerJan Djärv2008-02-18 08:08:32 +0000
commit2d7117fe05f034bf2ab796b639041504c4216ac5 (patch)
tree3401dbfd0e03950c40572db533d96e1d2d03190c /src/xfns.c
parent758dc0cc60a495321f03098eb363d81215ab8fbf (diff)
downloademacs-2d7117fe05f034bf2ab796b639041504c4216ac5.tar.gz
emacs-2d7117fe05f034bf2ab796b639041504c4216ac5.zip
(Fx_show_tip): Set string to " " if empty.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 0261f1b7f71..9c2afbf6736 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5317,6 +5317,9 @@ Text larger than the specified size is clipped. */)
5317 GCPRO4 (string, parms, frame, timeout); 5317 GCPRO4 (string, parms, frame, timeout);
5318 5318
5319 CHECK_STRING (string); 5319 CHECK_STRING (string);
5320 if (SCHARS (string) == 0)
5321 string = make_unibyte_string (" ", 1);
5322
5320 f = check_x_frame (frame); 5323 f = check_x_frame (frame);
5321 if (NILP (timeout)) 5324 if (NILP (timeout))
5322 timeout = make_number (5); 5325 timeout = make_number (5);