Kouhei Sutou 2018-11-02 15:46:02 +0900 (Fri, 02 Nov 2018) Revision: dedc4afb2695fdcc126d2acf218ce0adb9b1e6c6 https://github.com/groonga/groonga/commit/dedc4afb2695fdcc126d2acf218ce0adb9b1e6c6 Message: Fix a typo Modified files: lib/string.c Modified: lib/string.c (+2 -1) =================================================================== --- lib/string.c 2018-11-02 14:19:13 +0900 (b23a680a1) +++ lib/string.c 2018-11-02 15:46:02 +0900 (34f5a0100) @@ -1,6 +1,7 @@ /* -*- c-basic-offset: 2 -*- */ /* Copyright(C) 2009-2018 Brazil + Copyright(C) 2018 Kouhei Sutou <kou****@clear*****> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -255,7 +256,7 @@ grn_string_open_(grn_ctx *ctx, is_normalizer_auto = (lexicon_or_normalizer == GRN_NORMALIZER_AUTO); if (is_normalizer_auto) { normalizer = grn_ctx_get(ctx, GRN_NORMALIZER_AUTO_NAME, -1); - if (!lexicon_or_normalizer) { + if (!normalizer) { grn_obj_close(ctx, string); ERR(GRN_INVALID_ARGUMENT, "[string][open] NormalizerAuto normalizer isn't available"); -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181102/e9c935ef/attachment.html>