aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2016-09-27 23:45:07 +0100
committerHarry Jeffery <harry@exec64.co.uk>2016-09-27 23:45:07 +0100
commitb697fcd58abc16564624caa2211fd4279e528836 (patch)
treea2b3f51cda570d4923867d0be892485c9d6b3c7a /src/main.c
parent8323eb1dbea70d25baa345ab50f3b9a8b68ec251 (diff)
downloadimv-b697fcd58abc16564624caa2211fd4279e528836.tar.gz
Fix GetWidth/GetHeight typo in main.c
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 9f7da71..812688a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -524,7 +524,7 @@ int main(int argc, char** argv)
if(imv_loader_get_image(&ldr, &bmp, &is_new_image)) {
imv_texture_set_image(&tex, bmp);
iw = FreeImage_GetWidth(bmp);
- ih = FreeImage_GetWidth(bmp);
+ ih = FreeImage_GetHeight(bmp);
FreeImage_Unload(bmp);
need_redraw = 1;
need_rescale += is_new_image;