... sync
authorVolker Birk <vb@pep.foundation>
Wed, 29 Aug 2018 21:51:35 +0200
branchsync
changeset 2904de437ca2e367
parent 2903 33549a7c7191
child 2905 1856a40d0cb5
...
sync/gen_actions.ysl2
     1.1 --- a/sync/gen_actions.ysl2	Wed Aug 29 21:49:28 2018 +0200
     1.2 +++ b/sync/gen_actions.ysl2	Wed Aug 29 21:51:35 2018 +0200
     1.3 @@ -45,13 +45,14 @@
     1.4  
     1.5                  if (t1->size > t2->size)
     1.6                      return true;
     1.7 -
     1.8                  if (t2->size > t1->size)
     1.9                      return false;
    1.10  
    1.11                  for (int i=0; i<t1->size; i++) {
    1.12                      if (t1->buf[i] > t2->buf[i])
    1.13                          return true;
    1.14 +                    if (t2->buf[i] > t1->buf[i])
    1.15 +                        return false;
    1.16                  }
    1.17  
    1.18                  return false;