diff mde/lookup/Translation.d @ 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 6acd96f8685f
children 41582439a42b
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;
 		}