TRECISION: Fix regression - incorrect text assignment
This commit is contained in:
parent
128907ff12
commit
ef79cb8ed0
2 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ struct SDText {
|
|||
Common::String text;
|
||||
|
||||
void set(SDText org);
|
||||
void set(Common::Rect rect, Common::Rect subtitleRect, uint16 tcol, uint16 scol, Common::String text);
|
||||
void set(Common::Rect rect, Common::Rect subtitleRect, uint16 tcol, uint16 scol, Common::String pText);
|
||||
|
||||
void DText(uint16 *frameBuffer = nullptr);
|
||||
uint16 checkDText();
|
||||
|
|
|
@ -33,12 +33,12 @@ void SDText::set(SDText org) {
|
|||
set(org._rect, org._subtitleRect, org.tcol, org.scol, org.text);
|
||||
}
|
||||
|
||||
void SDText::set(Common::Rect rect, Common::Rect subtitleRect, uint16 ptcol, uint16 pscol, Common::String text) {
|
||||
void SDText::set(Common::Rect rect, Common::Rect subtitleRect, uint16 ptcol, uint16 pscol, Common::String pText) {
|
||||
_rect = rect;
|
||||
_subtitleRect = subtitleRect;
|
||||
tcol = ptcol;
|
||||
scol = pscol;
|
||||
text = text;
|
||||
text = pText;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue