Skip to content
Permalink
Browse files

PINK: Mark openLocalWebPage as const

  • Loading branch information
henke37 authored and sev- committed Feb 12, 2020
1 parent 77a4ab2 commit ada7ed71148e985fecae85b4bb0e6a3af8e28b98
Showing with 2 additions and 2 deletions.
  1. +1 −1 engines/pink/gui.cpp
  2. +1 −1 engines/pink/pink.h
@@ -362,7 +362,7 @@ void PinkEngine::executeMenuCommand(uint id) {
}
}

void PinkEngine::openLocalWebPage(const Common::String &pageName) {
void PinkEngine::openLocalWebPage(const Common::String &pageName) const {
Common::FSNode gameFolder= Common::FSNode(ConfMan.get("path"));
Common::FSNode filePath = gameFolder.getChild("INSTALL").getChild(pageName);
Common::String fullUrl = Common::String::format("file://%s", filePath.getPath().c_str());
@@ -143,7 +143,7 @@ class PinkEngine : public Engine {
void addModule(const Common::String &moduleName);
void removeModule();

void openLocalWebPage(const Common::String &pageName);
void openLocalWebPage(const Common::String &pageName) const;

private:
Console *_console;

0 comments on commit ada7ed7

Please sign in to comment.
You can’t perform that action at this time.