Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Stella
Commits
14501b8a
Commit
14501b8a
authored
Dec 07, 2018
by
thrust26
Browse files
Fixed exception when FatalEmulationError message was too short.
parent
ecb6c7a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gui/Dialog.cxx
View file @
14501b8a
...
...
@@ -725,6 +725,8 @@ void Dialog::addOKCancelBGroup(WidgetArray& wid, const GUI::Font& font,
font
.
getStringWidth
(
cancelText
)))
+
BTN_BORDER
);
int
buttonHeight
=
font
.
getLineHeight
()
+
4
;
_w
=
std
::
max
(
HBORDER
*
2
+
buttonWidth
*
2
+
BUTTON_GAP
,
_w
);
#ifndef BSPF_MAC_OSX
addOKWidget
(
new
ButtonWidget
(
this
,
font
,
_w
-
2
*
buttonWidth
-
HBORDER
-
BUTTON_GAP
,
_h
-
buttonHeight
-
VBORDER
,
buttonWidth
,
buttonHeight
,
okText
,
GuiObject
::
kOKCmd
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment