changeset 730:5cb236c6fe52

Added static this() to dil.Messages.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 03 Feb 2008 18:59:34 +0100
parents ec8dd7b8bf0c
children ca7607226caa 231c9a44ba8e
files trunk/src/dil/Messages.d
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);