mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
39902b01bf
It's got practically no coupling with gnome, except for gtk3.
14 lines
442 B
Diff
14 lines
442 B
Diff
diff --git a/goffice/utils/regutf8.c b/goffice/utils/regutf8.c
|
|
index bc4aae4..3adb696 100644
|
|
--- a/goffice/utils/regutf8.c
|
|
+++ b/goffice/utils/regutf8.c
|
|
@@ -155,7 +155,7 @@ go_regcomp (GORegexp *gor, const char *pat, int cflags)
|
|
default: return GO_REG_BADPAT;
|
|
}
|
|
} else {
|
|
- gor->re_nsub = pcre_info (r, NULL, NULL);
|
|
+ gor->re_nsub = pcre_fullinfo (r, NULL, NULL, NULL);
|
|
gor->nosub = (cflags & GO_REG_NOSUB) != 0;
|
|
return 0;
|
|
}
|