diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-03 11:30:43 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-03 11:30:43 +0000 |
commit | a71748ab3ef0da54dc9890a522b1b3e8798672cd (patch) | |
tree | e7a2f319a581277d69b18c55444b4f66a9da8809 /graphics/dia/files/patch-lib::charconv.c | |
parent | Update to 02.1 for i386. (diff) |
Update to 0.90.
Notes
Notes:
svn path=/head/; revision=60531
Diffstat (limited to 'graphics/dia/files/patch-lib::charconv.c')
-rw-r--r-- | graphics/dia/files/patch-lib::charconv.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-lib::charconv.c b/graphics/dia/files/patch-lib::charconv.c new file mode 100644 index 000000000000..ee085c256d35 --- /dev/null +++ b/graphics/dia/files/patch-lib::charconv.c @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- lib/charconv.c 2002/06/03 07:54:31 1.1 ++++ lib/charconv.c 2002/06/03 08:10:29 +@@ -98,7 +98,8 @@ + + if ((*charset == NULL) || + (0==strcmp(*charset,"US-ASCII")) || +- (0==strcmp(*charset,"ANSI_X3.4-1968"))) { ++ (0==strcmp(*charset,"ANSI_X3.4-1968")) || ++ (**charset == '\0')) { + /* we got basic stupid ASCII here. We use its sane + superset instead. Especially since libxml2 doesn't like + the pedantic name of ASCII. */ |