diff options
author | Filippos Karapetis | 2016-10-09 23:33:19 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-09 23:33:19 +0300 |
commit | 339e1c1f8878509e1f983b7cdc2c3218a8760ebd (patch) | |
tree | 149682899d1250822cd6122545f8ce45cbeabd06 /engines/chewy/text.h | |
parent | 8df9eb5b8fd5a88a1158f9a6253bd0b18fc52362 (diff) | |
download | scummvm-rg350-339e1c1f8878509e1f983b7cdc2c3218a8760ebd.tar.gz scummvm-rg350-339e1c1f8878509e1f983b7cdc2c3218a8760ebd.tar.bz2 scummvm-rg350-339e1c1f8878509e1f983b7cdc2c3218a8760ebd.zip |
CHEWY: Pass the text parameter of getLine() by reference
Saves an unneeded copy
Diffstat (limited to 'engines/chewy/text.h')
-rw-r--r-- | engines/chewy/text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/chewy/text.h b/engines/chewy/text.h index 564f6011b3..a082de6a98 100644 --- a/engines/chewy/text.h +++ b/engines/chewy/text.h @@ -100,7 +100,7 @@ public: Font(Common::String filename); virtual ~Font(); - ::Graphics::Surface *getLine(const Common::String text); + ::Graphics::Surface *getLine(const Common::String &text); private: uint16 _count, _first, _last, _width, _height; |