diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2023-04-03 14:27:21 -0600 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2023-05-25 07:02:59 -0300 |
| commit | afa45bd6b886838b760884a1870f274fc33b5f89 (patch) | |
| tree | 1e273d6091cc87472b47a740667619ec40f3162f /bindings/ruby | |
| parent | 74c2c86769a1e195fe7f465213c2dc360519d43f (diff) | |
ruby: query: fix get sort
The order was wrong, right now `query.sort` doesn't return a number.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby')
| -rw-r--r-- | bindings/ruby/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c index 8a2b4d3d..077def02 100644 --- a/bindings/ruby/query.c +++ b/bindings/ruby/query.c @@ -45,7 +45,7 @@ notmuch_rb_query_get_sort (VALUE self) Data_Get_Notmuch_Query (self, query); - return FIX2INT (notmuch_query_get_sort (query)); + return INT2FIX (notmuch_query_get_sort (query)); } /* |
