--- common.inc.orig	2010-10-07 17:23:03.602418002 +0200
+++ common.inc	2010-10-07 17:23:07.717418002 +0200
@@ -3471,6 +3471,7 @@ function drupal_load_stylesheet_content(
       '<\s*([@{}:;,]|\)\s|\s\()\s*>S',             // Remove whitespace around separators,
       '\1', $contents);                            // but keep space around parentheses.
     // End the file with a new line.
+    $contents = trim($contents);
     $contents .= "\n";
   }
 
