--- Desktop/drupal/modules/upload/upload.module	2007-01-02 05:25:33.000000000 -0500
+++ Sites/drupalHEAD/modules/upload/upload.module	2007-01-11 18:44:52.000000000 -0500
@@ -87,7 +87,7 @@
           if (strpos($filename, file_directory_path()) !== FALSE) {
             $filename = trim(substr($filename, strlen(file_directory_path())), '\\/');
           }
-          $filename = 'system/files/' . $filename;
+          $filename = 'system/files/'. $filename;
         }
 
         $items[] = array(
@@ -289,7 +289,7 @@
 
   // Clean up old file previews if a post didn't get the user to this page.
   // i.e. the user left the edit page, because they didn't want to upload anything.
-  if(count($_POST) == 0) {
+  if (count($_POST) == 0) {
     if (is_array($_SESSION['file_previews']) && count($_SESSION['file_previews'])) {
       foreach ($_SESSION['file_previews'] as $fid => $file) {
         file_delete($file->filepath);
@@ -317,7 +317,7 @@
     $key = 'upload_'. count($_SESSION['file_previews']);
     $file->fid = $key;
     $file->source = $key;
-    $file->list = variable_get('upload_list_default',1);
+    $file->list = variable_get('upload_list_default', 1);
     $_SESSION['file_previews'][$key] = $file;
 
     // Store the uploaded fid for this page request in case of submit without
@@ -781,7 +781,7 @@
       // if the file was uploaded this page request, set value. this fixes the problem
       // formapi has recognizing new checkboxes. see comments in _upload_prepare.
       if ($_SESSION['file_current_upload'] == $file->fid) {
-        $form['files'][$key]['list']['#value'] = variable_get('upload_list_default',1);
+        $form['files'][$key]['list']['#value'] = variable_get('upload_list_default', 1);
       }
       $form['files'][$key]['filename'] = array('#type' => 'value',  '#value' => $file->filename);
       $form['files'][$key]['filepath'] = array('#type' => 'value',  '#value' => $file->filepath);
