diff options
Diffstat (limited to 'binutils/resbin.c')
-rw-r--r-- | binutils/resbin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/resbin.c b/binutils/resbin.c index bd116a2..0684aec 100644 --- a/binutils/resbin.c +++ b/binutils/resbin.c @@ -517,6 +517,8 @@ bin_to_res_dialog (data, length, big_endian) d->caption = get_unicode (data + off, length - off, big_endian, &sublen); off += sublen * 2 + 2; + if (sublen == 0) + d->caption = NULL; if ((d->style & DS_SETFONT) == 0) { |