Revision: 87
http://csstidy.svn.sourceforge.net/csstidy/?rev=87&view=rev
Author: floele
Date: 2007-09-21 22:59:40 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
Allow empty CSS output (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443492)
Modified Paths:
--------------
trunk-cpp/csstidy/print_css.cpp
Modified: trunk-cpp/csstidy/print_css.cpp
===================================================================
--- trunk-cpp/csstidy/print_css.cpp 2007-08-24 22:09:59 UTC (rev 86)
+++ trunk-cpp/csstidy/print_css.cpp 2007-09-22 05:59:40 UTC (rev 87)
@@ -79,8 +79,7 @@
{
if(css.empty() && charset == "" && namesp == "" && import.empty() && csstokens.empty())
{
- if(!settings["silent"]) cout << "Invalid CSS!" << endl;
- return;
+ if(!settings["silent"]) cout << "Warning: empty CSS output!" << endl;
}
ofstream file_output;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|