]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/s-fixint.h
XML: Implemented a merger of element's contents.
[libucw.git] / lib / sorter / s-fixint.h
index b3c712bc936e0d41197d9ea792fcfe174c3f65b6..20cce74b114998e12d4b5cdb6ddd13312e91e58b 100644 (file)
@@ -92,7 +92,7 @@ static int P(internal)(struct sort_context *ctx, struct sort_bucket *bin, struct
 #ifdef SORT_UNIFY
       if (i < n-1 && !P(compare)(&buf[i], &buf[i+1]))
        {
-         P(key) **keys = (ctx->big_buf == (void *)buf) ? (void *)workspace : ctx->big_buf;
+         P(key) **keys = workspace;
          uns n = 2;
          keys[0] = &buf[i];
          keys[1] = &buf[i+1];