Skip to content

Commit

Permalink
Version byte defaults correctly set
Browse files Browse the repository at this point in the history
Config.GetVersionByte() returns -1 if no config override for version
byte is set.
  • Loading branch information
Davnit committed Apr 9, 2016
1 parent 7fc7d5c commit 44e2544
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions trunk/clsConfig.cls
Original file line number Diff line number Diff line change
Expand Up @@ -1901,6 +1901,12 @@ Private Sub LoadDefaults()
m_RegisterEmailAction = "PROMPT"
m_RegisterEmailDefault = vbNullString
m_RealmServerPassword = "password"

Dim i As Integer
For i = LBound(m_ProductKeys) To UBound(m_ProductKeys)
m_VersionBytes(i) = -1
m_LogonSystems(i) = -1
Next

'[Debug]
m_DebugWarden = False
Expand Down

0 comments on commit 44e2544

Please sign in to comment.