1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 16:29:15 -04:00
ports/textproc/hunspell/files/patch-src_parsers_latexparser.cxx
Gabor Kovesdan 2a352a5066 - Fix checking on LaTeX files on amd64
- Bump PORTREVISION

PR:		ports/122581
Submitted by:	Roland Smith <rsmith@xs4all.nl>
Approved by:	Janos Mohacsi <mohacsi@niif.hu> (maintainer)
2008-04-23 16:02:00 +00:00

11 lines
386 B
C++

--- src/parsers/latexparser.cxx.orig 2008-04-23 17:56:27.000000000 +0200
+++ src/parsers/latexparser.cxx 2008-04-23 17:57:00.000000000 +0200
@@ -82,7 +82,7 @@
{ { "\\url", NULL } , 1 }
};
-#define PATTERN_LEN (sizeof(PATTERN) / ((sizeof(char *) * 2) + sizeof(int)))
+#define PATTERN_LEN (sizeof(PATTERN) / sizeof(PATTERN[0]))
LaTeXParser::LaTeXParser(const char * wordchars)
{