[rkward-cvs] SF.net SVN: rkward: [1581] trunk/rkward/rkward/rkconsole.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Mar 14 21:35:28 UTC 2007


Revision: 1581
          http://svn.sourceforge.net/rkward/?rev=1581&view=rev
Author:   tfry
Date:     2007-03-14 14:35:28 -0700 (Wed, 14 Mar 2007)

Log Message:
-----------
Small fix to filename completion

Modified Paths:
--------------
    trunk/rkward/rkward/rkconsole.cpp

Modified: trunk/rkward/rkward/rkconsole.cpp
===================================================================
--- trunk/rkward/rkward/rkconsole.cpp	2007-03-14 21:21:29 UTC (rev 1580)
+++ trunk/rkward/rkward/rkconsole.cpp	2007-03-14 21:35:28 UTC (rev 1581)
@@ -348,7 +348,7 @@
 			if (quote_end < 0) quote_end = current_line.find ('\'', cursor_pos);
 			if (quote_end < 0) quote_end = current_line.length ();
 	
-			QString current_name = current_line.mid (quote_start + 1, quote_end - quote_start);
+			QString current_name = current_line.mid (quote_start + 1, quote_end - quote_start - 1);
 			KURLCompletion comp (KURLCompletion::FileCompletion);
 			QString test = comp.makeCompletion (current_name);
 	


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list