diff volume_io/Prog_utils/files.c @ 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 (2012-04-18)
parents 9944c7923d5b
children
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();