Bug 107022

Summary: %n expansion is broken in command aliases
Product: [Applications] konversation Reporter: Ismail Donmez <ismail>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ismail Donmez 2005-06-08 10:54:08 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Originally reported by jreuter@suse.de, %n expansion is broken in 0.18 release.
Comment 1 Ismail Donmez 2005-06-08 11:08:48 UTC
SVN commit 423386 by cartman:

Fix %n expansion
BUG:107022
CCMAIL:jreuter@suse.de



 M  +1 -2      outputfilter.cpp  


--- trunk/extragear/network/konversation/src/outputfilter.cpp #423385:423386
@@ -95,9 +95,8 @@
         destination=name;
 
         QString inputLine(originalLine);
-	inputLine.remove("\n");
 
-	if(inputLine.isEmpty())
+	if(inputLine.isEmpty() || inputLine == "\n")
 	  return result;
 
         if(!KonversationApplication::preferences.getDisableExpansion())