diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 01:36:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-08 02:26:37 +0800 |
commit | 49ef32b76c55cbefba53568f02028dddf23a9bc9 (patch) | |
tree | 682e825cab580d4c401f0a138ee29a8534336591 /e-util/e-sorter-array.c | |
parent | 2ef43b4cf40d21c61d39c5a938e428afa9074e2b (diff) | |
download | gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.gz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.bz2 gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.lz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.xz gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.tar.zst gsoc2013-evolution-49ef32b76c55cbefba53568f02028dddf23a9bc9.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util/e-sorter-array.c')
-rw-r--r-- | e-util/e-sorter-array.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/e-util/e-sorter-array.c b/e-util/e-sorter-array.c index 39f3e61fa8..71cd1d83b2 100644 --- a/e-util/e-sorter-array.c +++ b/e-util/e-sorter-array.c @@ -204,8 +204,14 @@ e_sorter_array_append (ESorterArray *esa, gint count) for (i = 0; i < count; i++) { gint value = esa->rows; gsize pos; - e_bsearch (&value, esa->sorted, esa->rows, sizeof (gint), esort_callback, esa, &pos, NULL); - memmove (esa->sorted + pos + 1, esa->sorted + pos, sizeof (gint) * (esa->rows - pos)); + + e_bsearch ( + &value, esa->sorted, esa->rows, + sizeof (gint), esort_callback, esa, &pos, NULL); + memmove ( + esa->sorted + pos + 1, + esa->sorted + pos, + sizeof (gint) * (esa->rows - pos)); esa->sorted[pos] = value; esa->rows ++; } |