src-option.c.patch 438 B

123456789101112131415
  1. diff -ru dwdiff-2.1.4.orig/src/option.c dwdiff-2.1.4/src/option.c
  2. --- dwdiff-2.1.4.orig/src/option.c 2020-12-13 06:38:01.000000000 -0500
  3. +++ dwdiff-2.1.4/src/option.c 2021-10-26 08:48:13.189583300 -0400
  4. @@ -470,8 +470,10 @@
  5. option.output = stdout;
  6. initOptions();
  7. +#ifdef USE_UNICODE
  8. UErrorCode error = U_ZERO_ERROR;
  9. ONLY_UNICODE(option.decomposition = unorm2_getNFDInstance(&error);)
  10. +#endif
  11. option.needStartStop = true;