pdfgrep: fix patch's whitespace
This commit is contained in:
parent
be46c235b7
commit
48268981bb
|
@ -1,14 +1,12 @@
|
||||||
diff --git a/src/pdfgrep.cc b/src/pdfgrep.cc
|
|
||||||
index 7f8bdf8..5283e16 100644
|
|
||||||
--- a/src/pdfgrep.cc
|
--- a/src/pdfgrep.cc
|
||||||
+++ b/src/pdfgrep.cc
|
+++ b/src/pdfgrep.cc
|
||||||
@@ -460,7 +460,9 @@ int main(int argc, char** argv)
|
@@ -460,7 +460,9 @@ int main(int argc, char** argv)
|
||||||
// Set locale to user-preference. If this locale is an UTF-8 locale, the
|
// Set locale to user-preference. If this locale is an UTF-8 locale, the
|
||||||
// regex-functions regcomp/regexec become unicode aware, which means
|
// regex-functions regcomp/regexec become unicode aware, which means
|
||||||
// e.g. that '.' will match a unicode character, not a single byte.
|
// e.g. that '.' will match a unicode character, not a single byte.
|
||||||
+#ifdef __GLIBC__
|
+#ifdef __GLIBC__
|
||||||
locale::global(locale(""));
|
locale::global(locale(""));
|
||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
enum re_engine_type {
|
enum re_engine_type {
|
||||||
RE_POSIX = 0,
|
RE_POSIX = 0,
|
||||||
|
|
Loading…
Reference in New Issue