Bug 107022 - %n expansion is broken in command aliases
Summary: %n expansion is broken in command aliases
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 10:54 UTC by Ismail Donmez
Modified: 2005-06-08 11:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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())