summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBPreviewView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewView.m b/macosx/HBPreviewView.m
index 21e27854b..3c4ea6e9f 100644
--- a/macosx/HBPreviewView.m
+++ b/macosx/HBPreviewView.m
@@ -191,7 +191,7 @@
- (void)layout
{
[super layout];
- // Set the picture size display fields below the Preview Picture
+
NSSize imageSize = NSMakeSize(CGImageGetWidth(self.image), CGImageGetHeight(self.image));
if (imageSize.width > 0 && imageSize.height > 0)