diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-09-23 23:01:16 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-09-23 23:01:16 +0200 |
commit | bc848e7d290656926337396622af68fffe10f0b2 (patch) | |
tree | f1139ba97fc487c915d8961c5ab507ae7163bf9b | |
parent | f85f70bf722314ef22c881b6b755e1ea3443f9f7 (diff) |
Show filename for image boxes
-rw-r--r-- | src/wrap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -881,6 +881,8 @@ void show_boxes(struct wrap_line *boxes) const char *block_text = sc_block_contents(box->scblock); box_text = g_utf8_offset_to_pointer(block_text, box->offs_char); + } else if ( box->type == WRAP_BOX_IMAGE ) { + box_text = box->filename; } else { box_text = NULL; } |