changeset 127:3328c6fb77ca

2 fixes for ldc - not that I was able to compile anyway (x86_64).
author Diggory Hardy <diggory.hardy@gmail.com>
date Thu, 08 Jan 2009 20:09:46 +0000
parents c9843fbaac88
children 41582439a42b
files mde/lookup/Translation.d mde/setup/Init.d
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mde/lookup/Translation.d	Thu Jan 08 13:05:44 2009 +0000
+++ b/mde/lookup/Translation.d	Thu Jan 08 20:09:46 2009 +0000
@@ -79,7 +79,7 @@
 	 * symbol names being untranslated. */
 	Translation get (char[] section) {
 	    if (sections is null || loadedL10n !is miscOpts.L10n()) {
-		if (sections) {	// Clear entries hash-map, but re-use classes
+		if (sections.length) {	// Clear entries hash-map, but re-use classes
 		    foreach (s; sections)
 			s.entries = null;
 		}
--- a/mde/setup/Init.d	Thu Jan 08 13:05:44 2009 +0000
+++ b/mde/setup/Init.d	Thu Jan 08 20:09:46 2009 +0000
@@ -46,6 +46,7 @@
 import mde.lookup.Options;
 import paths = mde.setup.paths;
 import mde.exception;           // optionsLoadException
+import imde = mde.imde;
 
 // tango imports
 import tango.core.Thread;