Changeset 2262ab in git


Ignore:
Timestamp:
Jun 18, 2012, 2:58:46 PM (11 years ago)
Author:
Alexander Dreyer <alexander.dreyer@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
0a64d508717f0b937487db90cbd170908343cb3b
Parents:
fcb5bfd57f91ed4e8f9022cad3b9a32ee509c968
git-author:
Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-06-18 14:58:46+02:00
git-committer:
Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-08-01 22:47:27+02:00
Message:
Fix broken custom operations in newstruct
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/newstruct.cc

    rfcb5bf r2262ab  
    280280  }
    281281  newstruct_proc p=nt->procs;
    282   while((p!=NULL) &&(p->t=op)&&(p->args!=2)) p=p->next;
     282  while((p!=NULL) && ( (p->t!=op) || (p->args!=2) )) p=p->next;
    283283  if (p!=NULL)
    284284  {
     
    323323  }
    324324  newstruct_proc p=nt->procs;
    325   while((p!=NULL) &&(p->t=op)&&(p->args!=4)) p=p->next;
     325 
     326  while((p!=NULL) &&( (p->t!=op) || (p->args!=4) )) p=p->next;
     327
    326328  if (p!=NULL)
    327329  {
Note: See TracChangeset for help on using the changeset viewer.