aboutsummaryrefslogtreecommitdiff
path: root/binutils/resrc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-06-23 00:08:54 +0000
committerIan Lance Taylor <ian@airs.com>1997-06-23 00:08:54 +0000
commite4486bdf9ffd0c61863eee6ccb2e5ef5621d1417 (patch)
tree50f3865d0257543e4d87f4373208df253546efff /binutils/resrc.c
parent3ce6d9410caa23759ba24cd6735b7f5ed449d302 (diff)
downloadgdb-e4486bdf9ffd0c61863eee6ccb2e5ef5621d1417.zip
gdb-e4486bdf9ffd0c61863eee6ccb2e5ef5621d1417.tar.gz
gdb-e4486bdf9ffd0c61863eee6ccb2e5ef5621d1417.tar.bz2
Another windres snapshot. Can now read the COFF resources directory,
although it doesn't yet parse out the binary format.
Diffstat (limited to 'binutils/resrc.c')
-rw-r--r--binutils/resrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/resrc.c b/binutils/resrc.c
index 64c6c78..fb340fa 100644
--- a/binutils/resrc.c
+++ b/binutils/resrc.c
@@ -2009,7 +2009,7 @@ write_rc_rcdata (e, rcdata, ind)
else
{
fprintf (e, ",\n");
- indent (e, ind);
+ indent (e, ind + 2);
}
fprintf (e, "%luL", l);
}
@@ -2024,7 +2024,7 @@ write_rc_rcdata (e, rcdata, ind)
else
{
fprintf (e, ",\n");
- indent (e, ind);
+ indent (e, ind + 2);
}
fprintf (e, "%d", i);
i += 2;
@@ -2037,7 +2037,7 @@ write_rc_rcdata (e, rcdata, ind)
else
{
fprintf (e, ",\n");
- indent (e, ind);
+ indent (e, ind + 2);
}
if ((ri->u.buffer.data[i] & 0x7f) == ri->u.buffer.data[i]
&& isprint (ri->u.buffer.data[i]))