mirror of https://github.com/stella-emu/stella.git
Merge branch 'master' of https://github.com/stella-emu/stella
This commit is contained in:
commit
30f0b03e82
|
@ -310,7 +310,7 @@ void FBSurface::frameRect(uInt32 x, uInt32 y, uInt32 w, uInt32 h,
|
|||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void FBSurface::wrapString(const string inStr, int pos, string& leftStr, string& rightStr) const
|
||||
void FBSurface::wrapString(const string& inStr, int pos, string& leftStr, string& rightStr) const
|
||||
{
|
||||
for(int i = pos; i > 0; --i)
|
||||
{
|
||||
|
|
|
@ -364,11 +364,11 @@ class FBSurface
|
|||
*/
|
||||
bool checkBounds(const uInt32 x, const uInt32 y) const;
|
||||
|
||||
void wrapString(const string inStr, int pos, string& leftStr, string& rightStr) const;
|
||||
void wrapString(const string& inStr, int pos, string& leftStr, string& rightStr) const;
|
||||
|
||||
/**
|
||||
Check if the given character is a whitespace.
|
||||
@param c Character to check
|
||||
@param s Character to check
|
||||
@return True if whitespace character
|
||||
*/
|
||||
bool isWhiteSpace(const char s) const;
|
||||
|
|
Loading…
Reference in New Issue