changeset 2674:b99d8f1c2402

fixed bug related to writing pixel data to obj file
author Vladimir S. FONOV <vladimir.fonov@gmail.com>
date Wed, 18 Apr 2012 19:03:13 -0400
parents 9944c7923d5b
children 4f8f998266a1
files volume_io/Prog_utils/files.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/volume_io/Prog_utils/files.c
+++ b/volume_io/Prog_utils/files.c
@@ -2521,7 +2521,7 @@
         }
         else
         {
-            if( fprintf( file, "%d", (int) *c ) < 0  )
+            if( fprintf( file, " %d", (int) *c ) < 0  )
             {
                 print_error( "Error outputting unsigned char.  " );
                 print_system_error();