Hello Clutter Team

I found a small bug in odo program which I downloaded from SVN
The version are
Current directory:[clutter] / trunk / toys / odo   Current revision: 2087
The original program is 
if (!strncmp (argv[i], "--tile-height", 13))
      tile_height = atoi (argv[i] + 14);

It should be 
if (!strncmp (argv[i], "--tile-height", 13))
       tile_height = atoi (argv[i] + 13);

so that it points to beginning of the numerical value we have given in command 
prompt.

Similarly
tile_width = atoi (argv[i] + 13);
to be modified to 
tile_width = atoi (argv[i] + 12);

and
image = argv[i] + 8;
to be modified to 
image = argv[i] + 7;


Regards
Dilip



       
---------------------------------
 From Chandigarh to Chennai - find friends all over India.  Click here.

Reply via email to