File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1- #pragma once
1+ #ifndef OPENMW_APPS_OPENCS_VIEW_WORLD_TABLEHEADERMOUSEEVENTHANDLER_HPP
2+ #define OPENMW_APPS_OPENCS_VIEW_WORLD_TABLEHEADERMOUSEEVENTHANDLER_HPP
23
34#include < QWidget>
45
@@ -28,3 +29,5 @@ namespace CSVWorld
2829
2930 }; // class TableHeaderMouseEventHandler
3031} // namespace CSVWorld
32+
33+ #endif
Original file line number Diff line number Diff line change @@ -922,7 +922,7 @@ namespace ESM4
922922 std::string printLabel (const GroupLabel& label, const std::uint32_t type)
923923 {
924924 std::ostringstream ss;
925- ss << sGroupType [std::min<std::size_t >(type, std::size (sGroupType ))]; // avoid out of range
925+ ss << sGroupType [std::min<std::size_t >(type, std::size (sGroupType ) - 1 )]; // avoid out of range
926926
927927 switch (type)
928928 {
Original file line number Diff line number Diff line change 1- #pragma once
1+ #ifndef OPENMW_COMPONENTS_MISC_HELPVIEWER_HPP
2+ #define OPENMW_COMPONENTS_MISC_HELPVIEWER_HPP
23
34namespace Misc
45{
@@ -7,3 +8,5 @@ namespace Misc
78 void openHelp (const char * url);
89 }
910}
11+
12+ #endif
You can’t perform that action at this time.
0 commit comments