summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-09-24 19:51:51 +0200
committerTannin <devnull@localhost>2014-09-24 19:51:51 +0200
commita62ecc5bf1e92e6dd2ba8e6e61a797641c254d92 (patch)
tree5e3538861b2768a1c16b3daf7f073e05b5764059 /src/modlist.h
parent5f1022917b655650f842dc8f34967716081685ef (diff)
- several style fixes suggested by static analysis
- will now support up to 4 levels of version numbers (major.minor.subminor.subsubminor
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.h b/src/modlist.h
index dec6d6d0..8856a7f5 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -265,7 +265,7 @@ private:
struct TModInfo {
TModInfo(unsigned int index, ModInfo::Ptr modInfo)
- : modInfo(modInfo), nameOrder(index) {}
+ : modInfo(modInfo), nameOrder(index), priorityOrder(0), modIDOrder(0), categoryOrder(0) {}
ModInfo::Ptr modInfo;
unsigned int nameOrder;
unsigned int priorityOrder;