Skip to content

Commit cceb784

Browse files
[[ Bug 14098 ]] Fix for a variable left initialised
1 parent f5c09f1 commit cceb784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/mac-dialog.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ -(void)relayout
843843
[mCancelButton setNeedsDisplay:YES];
844844

845845
// Update frame for the OK button
846-
NSRect okRect = { { okRect.origin.x + ButtonWidth + ButtonSpacing,
846+
NSRect okRect = { { cancelRect.origin.x + ButtonWidth + ButtonSpacing,
847847
ButtonBottomMargin },
848848
{ ButtonWidth, ButtonHeight } };
849849
[mOkButton setButtonType: NSMomentaryLightButton];

0 commit comments

Comments
 (0)