[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358853: Patch I applied.



  Hello:

  Find attached the patch I've used against to build the package.

  Thanks.
-- 
Raúl Sánchez Siles
Index: kompare/libdiff2/parserbase.cpp
===================================================================
--- kompare/libdiff2/parserbase.cpp	(révision 616444)
+++ kompare/libdiff2/parserbase.cpp	(copie de travail)
@@ -521,7 +521,9 @@
 
 	QChar first = line[0];
 
-	return ( first == context || first == added || first == removed );
+	return (    (first == context)
+	         || ( (first == removed) && !m_unifiedDiffHeader1.exactMatch(line) )
+	         || ( (first == added)   && !m_unifiedDiffHeader2.exactMatch(line) )  );
 }
 
 bool ParserBase::parseUnifiedHunkBody()

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: