mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
* resbin.c (res_to_bin_menu): Correct computation of menu vs. menuex length. * resrc.c (define_stringtable): Add 1 to resource ID.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
Wed Jul 30 11:21:06 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
From Ton van Overbeek <tvoverbe@wk.estec.esa.nl>:
|
||||||
|
* resbin.c (res_to_bin_menu): Correct computation of menu
|
||||||
|
vs. menuex length.
|
||||||
|
* resrc.c (define_stringtable): Add 1 to resource ID.
|
||||||
|
|
||||||
Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com>
|
Tue Jul 29 11:06:03 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* resbin.c (bin_to_res_string): Correct adjustment of data and
|
* resbin.c (bin_to_res_string): Correct adjustment of data and
|
||||||
|
@ -1818,7 +1818,7 @@ res_to_bin_menu (menu, big_endian)
|
|||||||
menuex = extended_menu (menu);
|
menuex = extended_menu (menu);
|
||||||
|
|
||||||
d = (struct bindata *) reswr_alloc (sizeof *d);
|
d = (struct bindata *) reswr_alloc (sizeof *d);
|
||||||
d->length = menuex ? 4 : 8;
|
d->length = menuex ? 8 : 4;
|
||||||
d->data = (unsigned char *) reswr_alloc (d->length);
|
d->data = (unsigned char *) reswr_alloc (d->length);
|
||||||
|
|
||||||
if (! menuex)
|
if (! menuex)
|
||||||
|
Reference in New Issue
Block a user