Author: chromatic
Date: Sun Jun 17 14:50:47 2007
New Revision: 19070

Modified:
   trunk/config/gen/platform/win32/env.c

Log:
[PDD 07] Fix trailing space and cuddled else violations.

Modified: trunk/config/gen/platform/win32/env.c
==============================================================================
--- trunk/config/gen/platform/win32/env.c       (original)
+++ trunk/config/gen/platform/win32/env.c       Sun Jun 17 14:50:47 2007
@@ -1,6 +1,6 @@
 /*
   On Windows there are two ways to access the environment.  Either through the
-  Windows environment block, using GetEnvironmentVariable, 
+  Windows environment block, using GetEnvironmentVariable,
   SetEnvironmentVariable and GetEnvironmentStrings, or the C runtime using
   _getenv, _putenv and _environ.
 
@@ -22,7 +22,7 @@
     assert(name  != NULL);
     assert(value != NULL);
 
-    { 
+    {
         const int name_len  = strlen(name );
         const int value_len = strlen(value);
 
@@ -46,7 +46,8 @@
 
             if (_putenv(envstring) == 0) {
                 /* success */
-            } else {
+            }
+            else {
                 /* TODO: Shouldn't we tell anyone that we failed? */
             }
             free(envstring);

Reply via email to