Browse Source

ensure that "display" is correctly defined

Nicolas Cannasse 13 years ago
parent
commit
b2c337f2a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common.ml

+ 1 - 1
common.ml

@@ -95,7 +95,7 @@ let create v =
 		std_path = [];
 		class_path = [];
 		main_class = None;
-		defines = PMap.add "true" () PMap.empty;
+		defines = PMap.add "true" () (if !display_default then PMap.add "display" () PMap.empty else PMap.empty);
 		package_rules = PMap.empty;
 		file = "";
 		types = [];