Skip to content

Commit 863debe

Browse files
authored
Merge pull request w3c#432 from udittmer/patch-1
Fix non-functional --printCSS/-p option
2 parents 9325825 + cba8c41 commit 863debe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org/w3c/css/css/StyleSheetGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ public StyleSheetGenerator(ApplContext ac, String title, StyleSheet style,
197197

198198
produceError();
199199
produceWarning();
200-
produceStyleSheet();
200+
if (CssValidator.showCSS)
201+
produceStyleSheet();
201202

202203
try {
203204
String _template_dir = "org/w3c/css/css/";

0 commit comments

Comments
 (0)