summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 01:06:54 -0500
committermidipix <writeonce@midipix.org>2016-01-10 01:06:54 -0500
commit98e7d8545d224df3a487ab7b20df914cac01678b (patch)
treed7244e05262d46298a00919d114ff488c3ae5e52 /src
parent97d20855e5a5d9e24367c0deb82c2159e2dc819f (diff)
downloadapimagic-98e7d8545d224df3a487ab7b20df914cac01678b.tar.bz2
apimagic-98e7d8545d224df3a487ab7b20df914cac01678b.tar.xz
enumval_cmp(): nitpick (code layout).
Diffstat (limited to 'src')
-rw-r--r--src/logic/amgc_enum_members.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logic/amgc_enum_members.c b/src/logic/amgc_enum_members.c
index 163cbe7..698b6f4 100644
--- a/src/logic/amgc_enum_members.c
+++ b/src/logic/amgc_enum_members.c
@@ -42,7 +42,9 @@ static int enumval_cmp(const void * ptra, const void * ptrb)
return 1;
else if ((entityb->enumval <= -128) && (entitya->enumval >= 0))
return -1;
- else if ((entitya->enumval < entityb->enumval) && (entitya->enumval > -128) && (entityb->enumval > -128))
+ else if ((entitya->enumval < entityb->enumval)
+ && (entitya->enumval > -128)
+ && (entityb->enumval > -128))
return -1;
else
return 1;