# HG changeset patch # User Aziz K?ksal # Date 1202061574 -3600 # Node ID 5cb236c6fe52b1c5d7ea53fbdf68837397fda9c2 # Parent ec8dd7b8bf0c8bc3a8a40cca7f16abe9615bc9e2 Added static this() to dil.Messages. diff -r ec8dd7b8bf0c -r 5cb236c6fe52 trunk/src/dil/Messages.d --- a/trunk/src/dil/Messages.d Sun Feb 03 19:43:53 2008 +0200 +++ b/trunk/src/dil/Messages.d Sun Feb 03 18:59:34 2008 +0100 @@ -74,6 +74,11 @@ private string[] messages; +static this() +{ + messages = new string[MID.max+1]; +} + package void SetMessages(string[] msgs) { assert(MID.max+1 == msgs.length);