diff --git a/ui/frame.cpp b/ui/frame.cpp index 68e97c4..e7665a8 100644 --- a/ui/frame.cpp +++ b/ui/frame.cpp @@ -992,7 +992,7 @@ void ImageViewer::SetImage(CHiImage *chim) { ResizeImage(siez); } void ImageViewer::ResizeImage(float size) { - float w = size, h = (float) bufH / bufW * siez; + float w = size, h = (float) bufH / bufW * size; if(w <= 1 || h <= 1) { return;