Mercurial > projects > dwt-addons
changeset 182:46b175eeced4
added assert
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 18 Oct 2008 15:01:10 +0200 |
parents | 8116a58394c3 |
children | c36336245fb1 |
files | dwtx/jface/resource/JFaceResources.d |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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);