diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2016-11-27 08:08:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-27 08:08:47 +0000 |
commit | 476e68f2990be4c090fc2826a3bed83bfa65d4cb (patch) | |
tree | 67d883944571b2f763f1869b3733676fbef7abd7 /file.c | |
parent | Merge pull request #49 from kcwu/fix-menu-overflow (diff) | |
parent | fix uninitialized variable in process_img(). fix #44 (diff) | |
download | w3m-476e68f2990be4c090fc2826a3bed83bfa65d4cb.tar.gz w3m-476e68f2990be4c090fc2826a3bed83bfa65d4cb.zip |
Merge pull request #50 from kcwu/fix-uninit-process_img
fix uninitialized variable in process_img(). fix #44
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3263,9 +3263,9 @@ process_img(struct parsed_tag *tag, int width) } #endif } + i = -1; #ifdef USE_IMAGE if (use_image) { - i = -1; if (parsedtag_get_value(tag, ATTR_HEIGHT, &i)) { if (i > 0) { i = (int)(i * image_scale / 100 + 0.5); |