diff mde/font/font.d @ 76:65780e0e48e6

Re-enabled click event passing in the gui to make ButtonWidget work. Bugfix (pass void* not class reference). Change to allow compilation with dmd 1.027 (don't use DefaultData's Arg!() template).
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 28 Jul 2008 18:49:18 +0100
parents cee261eba249
children 61ea26abe4dd
line wrap: on
line diff
--- a/mde/font/font.d	Mon Jul 28 18:17:48 2008 +0100
+++ b/mde/font/font.d	Mon Jul 28 18:49:18 2008 +0100
@@ -106,7 +106,7 @@
                 reader.read;
                 
                 // get fallback name
-                char[]* p = "fallback" in reader.dataset.header.Arg!(char[]);
+                char[]* p = "fallback" in reader.dataset.header._charA;
                 if (p is null)
                     throw new fontException ("No fallback font style specified");
                 fallbackName = *p;