diff options
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/dispman.cpp | 2 | ||||
-rw-r--r-- | engines/lab/dispman.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index 199c9e04c8..13ffd07b59 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -138,7 +138,7 @@ void DisplayMan::freePict() { /** * Extracts the first word from a string. */ -static void getWord(char *wordBuffer, const char *mainBuffer, uint16 *wordWidth) { +void DisplayMan::getWord(char *wordBuffer, const char *mainBuffer, uint16 *wordWidth) { uint16 width = 0; while ((mainBuffer[width] != ' ') && mainBuffer[width] && (mainBuffer[width] != '\n')) { diff --git a/engines/lab/dispman.h b/engines/lab/dispman.h index 5b6217bb60..5938198b87 100644 --- a/engines/lab/dispman.h +++ b/engines/lab/dispman.h @@ -62,6 +62,7 @@ private: uint16 fadeNumIn(uint16 num, uint16 res, uint16 counter); uint16 fadeNumOut(uint16 num, uint16 res, uint16 counter); + void getWord(char *wordBuffer, const char *mainBuffer, uint16 *wordWidth); byte _curapen; byte *_curBitmap; |