[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: s_encoding.nw



  User: ahvezda 
  Date: 06/01/04 10:40:04

  Modified:    .        s_encoding.nw
  Log:
  Removed extra @'s which were breaking notangle_guile builds from CVS.
  
  
  
  
  Revision  Changes    Path
  1.4       +8 -8      eda/geda/devel/libgeda/noweb/s_encoding.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_encoding.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/s_encoding.nw,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- s_encoding.nw	27 Nov 2005 00:28:10 -0000	1.3
  +++ s_encoding.nw	4 Jan 2006 15:40:04 -0000	1.4
  @@ -149,10 +149,10 @@
         srclen -= 3;
   
         output[0] = (input[0] >> 2);
  -      output[1] = ((input[0] & 0x03) @<< 4) + 
  -	(input[1] @>> 4);
  -      output[2] = ((input[1] & 0x0f) @<< 2) + 
  -	(input[2] @>> 6);
  +      output[1] = ((input[0] & 0x03) << 4) + 
  +	(input[1] >> 4);
  +      output[2] = ((input[1] & 0x0f) << 2) + 
  +	(input[2] >> 6);
         output[3] = (input[2] & 0x3f);
   
         g_assert ((dstpos + 4) < *dstlenp);
  @@ -177,10 +177,10 @@
   	input[i] = *src++;
   
         output[0] = (input[0] >> 2);
  -      output[1] = ((input[0] & 0x03) @<< 4) + 
  -	(input[1] @>> 4);
  -      output[2] = ((input[1] & 0x0f) @<< 2) + 
  -	(input[2] @>> 6);
  +      output[1] = ((input[0] & 0x03) << 4) + 
  +	(input[1] >> 4);
  +      output[2] = ((input[1] & 0x0f) << 2) + 
  +	(input[2] >> 6);
   
         g_assert ((dstpos + 4) < *dstlenp);