diff options
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index b18446d38b6..a74a0987453 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -3854,7 +3854,7 @@ xrdb_get_resource (rdb, attribute, class, component, subclass) | |||
| 3854 | 3854 | ||
| 3855 | value = x_get_string_resource (rdb, name_key, class_key); | 3855 | value = x_get_string_resource (rdb, name_key, class_key); |
| 3856 | 3856 | ||
| 3857 | if (value != (char *) 0) | 3857 | if (value != (char *) 0 && *value) |
| 3858 | return build_string (value); | 3858 | return build_string (value); |
| 3859 | else | 3859 | else |
| 3860 | return Qnil; | 3860 | return Qnil; |