Commit 864b5584 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: fix potential null pointer dereference

parent 9ee2f4b2
......@@ -76,11 +76,10 @@
{
if (self = [super initWithFrame:frameRect]) {
[self registerForDraggedTypes:[NSArray arrayWithObject:NSFilenamesPboardType]];
i_lastScrollWheelDirection = 0;
f_cumulated_magnification = 0.0;
}
i_lastScrollWheelDirection = 0;
f_cumulated_magnification = 0.0;
return self;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment