Tooltips: Unify the tooltip[] and list[] description tooltip display functions (...
[oweals/minetest.git] / src / guiTable.h
index 4d5b3916610251471370d85fc574e6b67ddca974..02e8af00b77ef394431594035845cd46c083a0af 100644 (file)
@@ -74,11 +74,10 @@ public:
                std::string name;
                std::string value;
 
-               Option(const std::string &name_, const std::string &value_)
-               {
-                       name = name_;
-                       value = value_;
-               }
+               Option(const std::string &name_, const std::string &value_) :
+                       name(name_),
+                       value(value_)
+               {}
        };
 
        /*
@@ -197,7 +196,7 @@ protected:
        bool m_sel_doubleclick;
 
        // Keyboard navigation stuff
-       s32 m_keynav_time;
+       u64 m_keynav_time;
        core::stringw m_keynav_buffer;
 
        // Drawing and geometry information