[Groonga-commit] groonga/groonga [master] Use GRN_CHAR_BLANK instead of GRN_STR_BLANK

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 1 10:54:54 JST 2013


Kouhei Sutou	2013-02-01 10:54:54 +0900 (Fri, 01 Feb 2013)

  New Revision: fd5bd4ce162aca7492e7b95b862fed54f51d538e
  https://github.com/groonga/groonga/commit/fd5bd4ce162aca7492e7b95b862fed54f51d538e

  Log:
    Use GRN_CHAR_BLANK instead of GRN_STR_BLANK
    
    GRN_STR_BLANK is deprecated.

  Modified files:
    lib/normalizer.c

  Modified: lib/normalizer.c (+1 -1)
===================================================================
--- lib/normalizer.c    2013-01-31 14:00:32 +0900 (3dc6a0c)
+++ lib/normalizer.c    2013-02-01 10:54:54 +0900 (15ca760)
@@ -685,7 +685,7 @@ utf8_normalize(grn_ctx *ctx, grn_string *nstr)
         break;
       }
       if ((*p == ' ' && removeblankp) || *p < 0x20  /* skip unprintable ascii */ ) {
-        if (cp > nstr->ctypes) { *(cp - 1) |= GRN_STR_BLANK; }
+        if (cp > nstr->ctypes) { *(cp - 1) |= GRN_CHAR_BLANK; }
       } else {
         if (de <= d + lp) {
           unsigned char *normalized;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index