[Scribus] Patch for scribus/scribus.cpp

Michael Schloh von Bennewitz michael.schloh
Wed Jun 16 16:03:57 CEST 2004


DE: Diese Patch wirkt gegen beide CVS Headrevision und Scribus 1.1.7. Bitte
es vor Kommit ueberpruefen. Ich habe irgendwie mein Kommitprivilege (oder
Passwort?) verloren.

EN: This patch applies against both the CVS head revision and Scribus 1.1.7.
Please review it before commiting. I seem to have lost my commit privilege
for some reason.

Index: scribus.cpp
===================================================================
RCS file: /usr/local/cvsroot/Scribus/scribus/scribus.cpp,v
retrieving revision 1.170
diff -u -d -u -d -r1.170 scribus.cpp
--- scribus.cpp	11 Jun 2004 11:21:36 -0000	1.170
+++ scribus.cpp	16 Jun 2004 13:39:19 -0000
@@ -7371,7 +7371,7 @@
 	typedef void (*sdem)(QWidget *d, ScribusApp *plug);
 	sdem demo;
 	QString pfad = PREL;
-	if (pda.Typ != 4)
+	if (pda.Typ < 4)
 	{
 		pfad += "/lib/scribus/plugins/" + pda.Datei;
 		mo = dlopen(pfad, RTLD_LAZY | RTLD_GLOBAL);

Gruesse,
Michael

-------------- next part --------------
Index: scribus.cpp
===================================================================
RCS file: /usr/local/cvsroot/Scribus/scribus/scribus.cpp,v
retrieving revision 1.170
diff -u -d -u -d -r1.170 scribus.cpp
--- scribus.cpp	11 Jun 2004 11:21:36 -0000	1.170
+++ scribus.cpp	16 Jun 2004 13:39:19 -0000
@@ -7371,7 +7371,7 @@
 	typedef void (*sdem)(QWidget *d, ScribusApp *plug);
 	sdem demo;
 	QString pfad = PREL;
-	if (pda.Typ != 4)
+	if (pda.Typ < 4)
 	{
 		pfad += "/lib/scribus/plugins/" + pda.Datei;
 		mo = dlopen(pfad, RTLD_LAZY | RTLD_GLOBAL);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 467 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20040616/0054b615/attachment.pgp 



More information about the scribus mailing list