rev 5283 - trunk/packages/kdenetwork/debian/patches
Ana Beatriz Guerrero López
ana at alioth.debian.org
Wed Jan 10 12:45:08 CET 2007
Author: ana
Date: 2007-01-10 12:45:08 +0100 (Wed, 10 Jan 2007)
New Revision: 5283
Added:
trunk/packages/kdenetwork/debian/patches/20_ksirc_405828.diff
Log:
da patch.
Added: trunk/packages/kdenetwork/debian/patches/20_ksirc_405828.diff
===================================================================
--- trunk/packages/kdenetwork/debian/patches/20_ksirc_405828.diff 2007-01-10 01:18:49 UTC (rev 5282)
+++ trunk/packages/kdenetwork/debian/patches/20_ksirc_405828.diff 2007-01-10 11:45:08 UTC (rev 5283)
@@ -0,0 +1,18 @@
+--- ksirc/iocontroller.cpp
++++ ksirc/iocontroller.cpp
+@@ -266,13 +266,13 @@ void KSircIOController::stdout_read(KPro
+ if(ksopts->autoCreateWin == TRUE && line[0] != '`' && line[1] != '#' && line[1] != '&' && noticeCreate) {
+ //kdDebug(5008) << "Creating window for: " << qsname << " because of: " << line.data() << endl;
+ ksircproc->new_toplevel(KSircChannel(ksircproc->serverName(), qsname));
+- assert(ksircproc->TopList[qsname] != 0x0);
+ }
+- else{
++ if (!ksircproc->TopList[qsname]) {
+ qsname = "!default";
+ if(line[0] == '`')
+ qsname = "!discard";
+ }
++ assert(ksircproc->TopList[qsname]);
+ }
+
+ ksircproc->TopList[qsname]->sirc_receive(line);
More information about the pkg-kde-commits
mailing list