PR binutils/13297
* resrc.c (write_rc_dialog_control): Omit text dump for EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
This commit is contained in:
parent
fd08dafa65
commit
7afcdbb2bf
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-02-11 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
|
PR binutils/13297
|
||||||
|
* resrc.c (write_rc_dialog_control): Omit text dump for
|
||||||
|
EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
|
||||||
|
|
||||||
2012-02-09 Alan Modra <amodra@gmail.com>
|
2012-02-09 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* sysdep.h: Include sys/stat.h here.
|
* sysdep.h: Include sys/stat.h here.
|
||||||
|
|
|
@ -2650,7 +2650,13 @@ write_rc_dialog_control (FILE *e, const rc_dialog_control *control)
|
||||||
ci = NULL;
|
ci = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (control->text.named || control->text.u.id != 0)
|
/* For EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR don't dump text. */
|
||||||
|
if ((control->text.named || control->text.u.id != 0)
|
||||||
|
&& (!ci
|
||||||
|
|| (ci->class != CTL_EDIT
|
||||||
|
&& ci->class != CTL_COMBOBOX
|
||||||
|
&& ci->class != CTL_LISTBOX
|
||||||
|
&& ci->class != CTL_SCROLLBAR)))
|
||||||
{
|
{
|
||||||
fprintf (e, " ");
|
fprintf (e, " ");
|
||||||
res_id_print (e, control->text, 1);
|
res_id_print (e, control->text, 1);
|
||||||
|
|
Loading…
Reference in a new issue