diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-04 10:33:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-04 10:33:52 +0100 |
| commit | d8cc379d5dd638e26ee0b46bc610fd2e33be2311 (patch) | |
| tree | f312755d68f4a0cd1ab2fd48919ee2c3261d9d8e /src | |
| parent | d6b067d2a2ec5f0490c9fb17ddd605d0e860480d (diff) | |
Fix country of origin length when writing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/stl_binary_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc index f8d2263..c8dbc76 100644 --- a/src/stl_binary_writer.cc +++ b/src/stl_binary_writer.cc @@ -191,7 +191,7 @@ sub::write_stl_binary ( put_string (buffer + 272, "1"); /* Disk sequence number */ put_string (buffer + 273, "1"); - put_string (buffer + 274, 32, country_of_origin); + put_string (buffer + 274, 3, country_of_origin); put_string (buffer + 277, 32, publisher); put_string (buffer + 309, 32, editor_name); put_string (buffer + 341, 32, editor_contact_details); |
