diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:42:37 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:42:37 -0700 |
commit | 3aade68889268c7d15e121d6d63cb1b753ec12fa (patch) | |
tree | 9fe7a6ce752b4a79bbdaa9bed60c5044c2a3f80c /binutils/resbin.c | |
parent | 3739860c11a9cfcdaa4d5d204ea3536784de7bb3 (diff) | |
download | gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.zip gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.gz gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.bz2 |
Remove trailing spaces in binutils
Diffstat (limited to 'binutils/resbin.c')
-rw-r--r-- | binutils/resbin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/resbin.c b/binutils/resbin.c index 04ba721..8b12649 100644 --- a/binutils/resbin.c +++ b/binutils/resbin.c @@ -1067,7 +1067,7 @@ bin_to_res_version (windres_bfd *wrbfd, const bfd_byte *data, rc_uint_type lengt verlen -= off; stverlen -= off; - + vst->strings = NULL; ppvs = &vst->strings; @@ -1318,7 +1318,7 @@ resid_to_bin (windres_bfd *wrbfd, rc_uint_type off, rc_res_id id) if (wrbfd) { struct bin_res_id bri; - + windres_put_16 (wrbfd, bri.sig, 0xffff); windres_put_16 (wrbfd, bri.id, id.u.id); set_windres_bfd_content (wrbfd, &bri, off, BIN_RES_ID); @@ -1556,7 +1556,7 @@ res_to_bin_dialog (windres_bfd *wrbfd, rc_uint_type off, const rc_dialog *dialog windres_put_32 (wrbfd, bdc.id, dc->id); set_windres_bfd_content (wrbfd, &bdc, off, BIN_DIALOGEX_CONTROL_SIZE); } - } + } off += (dialogex != 0 ? BIN_DIALOGEX_CONTROL_SIZE : BIN_DIALOG_CONTROL_SIZE); off = resid_to_bin (wrbfd, off, dc->class); |