Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 53955843e81b1f369ad60b94ae20b253 > files > 4

xedit-1.0.2-7mdv2008.0.src.rpm

--- xedit-1.0.2.orig/ispell.c	2005-04-04 07:17:07.000000000 -0300
+++ xedit-1.0.2/ispell.c	2007-09-05 14:47:13.000000000 -0300
@@ -923,7 +923,7 @@
     nl = False;
     while (1) {
 	Bool done = False;
-	char mb[sizeof(wchar_t)];
+	char mb[8/*sizeof(wchar_t)*/];
 
 	retry_html_space:
 	position = XawTextSourceRead(ispell.source, position,
@@ -1021,7 +1021,7 @@
     position = ispell.left = ispell.right;
     while (1) {
 	Bool done = False;
-	char mb[sizeof(wchar_t)];
+	char mb[8/*sizeof(wchar_t)*/];
 
 	retry_html_word:
 	position = XawTextSourceRead(ispell.source, position,
@@ -1329,8 +1329,7 @@
 	len = strlen(ispell.cmd) + strlen(ispell.dictionary) +
 	      strlen(ispell.wchars) + 16;
 	command = XtMalloc(len);
-	XmuSnprintf(command, len, "%s -a -d '%s' -w '%s'",
-		    ispell.cmd, ispell.dictionary, ispell.wchars);
+	XmuSnprintf(command, len, "%s -a", ispell.cmd);
 
 	pipe(ispell.ifd);
 	pipe(ispell.ofd);
--- xedit-1.0.2.orig/Xedit-xprint.ad	2005-04-10 22:06:15.000000000 -0300
+++ xedit-1.0.2/Xedit-xprint.ad	2007-09-05 14:28:35.000000000 -0300
@@ -261,7 +261,7 @@
 !*ispell.dictionary:			br
 !*ispell.dictionaries:			br american americanmed+ english
 !*ispell*br.wordChars:			áéíóúçÁÉÍÓÚÇàÀâêôÂÊÔüÜãõÃÕ-
-!*ispell.ispellCommand:			/usr/local/bin/ispell -B -m
+*ispell.ispellCommand:			/usr/bin/aspell -B -m
 !*ispell*text.skipLines:		.#
 
 *ispell.geometry:			0x0
--- xedit-1.0.2.orig/Xedit-noxprint.ad	2004-09-02 05:40:32.000000000 -0300
+++ xedit-1.0.2/Xedit-noxprint.ad	2007-09-05 14:29:08.000000000 -0300
@@ -257,7 +257,7 @@
 !*ispell.dictionary:			br
 !*ispell.dictionaries:			br american americanmed+ english
 !*ispell*br.wordChars:			áéíóúçÁÉÍÓÚÇàÀâêôÂÊÔüÜãõÃÕ-
-!*ispell.ispellCommand:			/usr/local/bin/ispell -B -m
+*ispell.ispellCommand:			/usr/bin/aspell -B -m
 !*ispell*text.skipLines:		.#
 
 *ispell.geometry:			0x0