]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/cpp_api/s_mainmenu.h
Fix trivial typos
[dragonfireclient.git] / src / script / cpp_api / s_mainmenu.h
index 8d5895817e4bd251cf83879c5d1f83fd9d836366..470577a29d81612133b4aa6795431eb2eb55e4eb 100644 (file)
@@ -17,12 +17,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef S_MAINMENU_H_
-#define S_MAINMENU_H_
+#pragma once
 
 #include "cpp_api/s_base.h"
 #include "util/string.h"
-#include "../guiMainMenu.h"
+#include "gui/guiMainMenu.h"
 
 class ScriptApiMainMenu : virtual public ScriptApiBase {
 public:
@@ -39,10 +38,8 @@ class ScriptApiMainMenu : virtual public ScriptApiBase {
        void handleMainMenuEvent(std::string text);
 
        /**
-        * process field data recieved from formspec
+        * process field data received from formspec
         * @param fields data in field format
         */
        void handleMainMenuButtons(const StringMap &fields);
 };
-
-#endif /* S_MAINMENU_H_ */