Mercurial > projects > dwt-addons
diff dwtx/jface/resource/JFaceResources.d @ 182:46b175eeced4
added assert
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Oct 2008 15:01:10 +0200 |
parents | 04b47443bb01 |
children |
line wrap: on
line diff
--- a/dwtx/jface/resource/JFaceResources.d Sat Oct 18 15:00:49 2008 +0200 +++ b/dwtx/jface/resource/JFaceResources.d Sat Oct 18 15:01:10 2008 +0200 @@ -217,6 +217,7 @@ * @return the global resource manager for the given display */ public static ResourceManager getResources(Display toQuery) { + assert( toQuery ); init_registries(); ResourceManager reg = cast(ResourceManager) registries.get(toQuery);