mirror of https://github.com/stella-emu/stella.git
fixed #732
This commit is contained in:
parent
2141469ba7
commit
1636f1517c
|
@ -299,6 +299,7 @@ void FBSurface::frameRect(uInt32 x, uInt32 y, uInt32 w, uInt32 h,
|
||||||
void FBSurface::splitString(const GUI::Font& font, const string& s, int w,
|
void FBSurface::splitString(const GUI::Font& font, const string& s, int w,
|
||||||
string& left, string& right) const
|
string& left, string& right) const
|
||||||
{
|
{
|
||||||
|
#ifdef GUI_SUPPORT
|
||||||
uInt32 pos;
|
uInt32 pos;
|
||||||
int w2 = 0;
|
int w2 = 0;
|
||||||
bool split = false;
|
bool split = false;
|
||||||
|
@ -329,6 +330,7 @@ void FBSurface::splitString(const GUI::Font& font, const string& s, int w,
|
||||||
}
|
}
|
||||||
left = s.substr(0, pos);
|
left = s.substr(0, pos);
|
||||||
right = s.substr(pos);
|
right = s.substr(pos);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue