mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
u3: tweaks u3s_sift_ud() conditional style
This commit is contained in:
parent
45ef57ab1a
commit
715b42bb42
@ -873,8 +873,8 @@ u3s_sift_ud_bytes(c3_w len_w, c3_y* byt_y)
|
||||
|
||||
// +ape:ag: just 0
|
||||
//
|
||||
if ( !len_w ) return u3_none;
|
||||
else if ( '0' == *byt_y ) return ( 1 == len_w ) ? (u3_noun)0 : u3_none;
|
||||
if ( !len_w ) return u3_none;
|
||||
if ( '0' == *byt_y ) return ( 1 == len_w ) ? (u3_noun)0 : u3_none;
|
||||
|
||||
// +ted:ab: leading nonzero (checked above), plus up to 2 digits
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user