Explorar o código

ensure that "display" is correctly defined

Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
b2c337f2a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [];