mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01: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;
|
|
}
|