diff options
author | Joyounger <aquanox@163.com> | 2017-05-24 00:36:35 +0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-05-23 15:29:18 -0500 |
commit | 77f9c7700604127f9e9f46d44764ca3db978f706 (patch) | |
tree | c0b3c893ebb6de4b26feebc5883cb0d9bad6252b /main.c | |
parent | 00e6da98f31cce57fbbd768fc78649442d7ba494 (diff) | |
download | toybox-77f9c7700604127f9e9f46d44764ca3db978f706.tar.gz |
fixup code style
Signed-off-by: Joyounger <aquanox@163.com>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ struct toy_list *toy_find(char *name) if (middle<bottom || middle>top) return NULL; result = strcmp(name,toy_list[middle].name); if (!result) return toy_list+middle; - if (result<0) top=--middle; + if (result<0) top = --middle; else bottom = ++middle; } } |