diff options
-rw-r--r-- | sword2/driver/d_draw.h | 1 | ||||
-rw-r--r-- | sword2/driver/rdwin.cpp | 8 | ||||
-rw-r--r-- | sword2/maketext.cpp | 2 |
3 files changed, 1 insertions, 10 deletions
diff --git a/sword2/driver/d_draw.h b/sword2/driver/d_draw.h index 7b4b0f448c..5e30e4d79c 100644 --- a/sword2/driver/d_draw.h +++ b/sword2/driver/d_draw.h @@ -193,7 +193,6 @@ public: void markAsDirty(int16 x0, int16 y0, int16 x1, int16 y1); void updateDisplay(bool redrawScene = true); - void setWindowName(const char *windowName); void setNeedFullRedraw(void); void setPalette(int16 startEntry, int16 noEntries, byte *palette, uint8 setNow); diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp index f981fd1151..45f55906a3 100644 --- a/sword2/driver/rdwin.cpp +++ b/sword2/driver/rdwin.cpp @@ -114,12 +114,4 @@ void Graphics::updateDisplay(bool redrawScene) { _vm->_system->updateScreen(); } -/** - * Set the window title - */ - -void Graphics::setWindowName(const char *windowName) { - _vm->_system->setWindowCaption(windowName); -} - } // End of namespace Sword2 diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp index 83dbb253e3..e403d55613 100644 --- a/sword2/maketext.cpp +++ b/sword2/maketext.cpp @@ -532,7 +532,7 @@ void Sword2Engine::initialiseFontResourceFlags(void) { else textLine = (char *) fetchTextLine(textFile, 54) + 2; - _graphics->setWindowName(textLine); + _system->setWindowCaption(textLine); _resman->closeResource(TEXT_RES); } |