Changeset a8638a6 in git


Ignore:
Timestamp:
15/01/14 00:23:16 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
bca9107
Parents:
a4454620
Message:

src/img.c: Tweak recursive calls in img_read_item_ancient() and
img_write_item_ancient() to directly call the same function.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    ra4454620 ra8638a6  
     1Wed Jan 15 00:22:22 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * src/img.c: Tweak recursive calls in img_read_item_ancient() and
     4          img_write_item_ancient() to directly call the same function.
     5
    16Wed Jan 15 00:15:30 GMT 2014  Olly Betts <olly@survex.com>
    27
  • src/img.c

    ra4454620 ra8638a6  
    17891789      }
    17901790
    1791       if (opt_lookahead == 2) return img_read_item(pimg, p);
     1791      if (opt_lookahead == 2) return img_read_item_ancient(pimg, p);
    17921792   }
    17931793
     
    26382638      if (pimg->version == 1) {
    26392639         /* put a move before each label */
    2640          img_write_item(pimg, img_MOVE, 0, NULL, x, y, z);
     2640         img_write_item_ancient(pimg, img_MOVE, 0, NULL, x, y, z);
    26412641         put32(2, pimg->fh);
    26422642         fputsnl(s, pimg->fh);
Note: See TracChangeset for help on using the changeset viewer.