diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 22:56:07 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 22:56:07 +0000 |
commit | 09c807871055a857fd1be936fa3219d4838c1151 (patch) | |
tree | 4413fa80f257d025e5591ce26c388d70e4155023 /viewport.c | |
parent | d414db0f65ada1d2bb159029d2f02f40a8d563e2 (diff) | |
download | imv-09c807871055a857fd1be936fa3219d4838c1151.tar.gz |
Use C style comments
Diffstat (limited to 'viewport.c')
-rw-r--r-- | viewport.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,10 +98,10 @@ void imv_viewport_scale_to_window(struct imv_viewport *view, const struct imv_im double image_aspect = (double)img->width / (double)img->height; if(window_aspect > image_aspect) { - //Image will become too tall before it becomes too wide + /* Image will become too tall before it becomes too wide */ view->scale = (double)wh / (double)img->height; } else { - //Image will become too wide before it becomes too tall + /* Image will become too wide before it becomes too tall */ view->scale = (double)ww / (double)img->width; } |