rpms/mc/devel mc-searchfix.patch,NONE,1.1 mc.spec,1.64,1.65

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Oct 7 07:29:22 UTC 2005


Author: jnovy

Update of /cvs/dist/rpms/mc/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv9630

Modified Files:
	mc.spec 
Added Files:
	mc-searchfix.patch 
Log Message:
fix off-by-one highlighting when searching backwards in mcedit (#169823)


mc-searchfix.patch:
 view.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE mc-searchfix.patch ---
--- mc-4.6.1/src/view.c.searchfix	2005-10-04 16:44:32.000000000 +0200
+++ mc-4.6.1/src/view.c	2005-10-04 16:44:53.000000000 +0200
@@ -1756,7 +1756,7 @@ search (WView *view, char *text,
 	if (view->direction == 1)
 	    t += forward_line_start;
 	else
-	    t = reverse_line_start ? reverse_line_start + 3 : 0;
+	    t = reverse_line_start ? reverse_line_start + 2 : 0;
 	view->search_start += t;
 
 	if (t != beginning) {


Index: mc.spec
===================================================================
RCS file: /cvs/dist/rpms/mc/devel/mc.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- mc.spec	3 Oct 2005 10:49:32 -0000	1.64
+++ mc.spec	7 Oct 2005 07:29:17 -0000	1.65
@@ -1,7 +1,7 @@
 Summary:	User-friendly text console file manager and visual shell.
 Name:		mc
 Version:	4.6.1a
-Release:	0.17
+Release:	0.18
 Epoch:		1
 License:	GPL
 Group:		System Environment/Shells
@@ -26,6 +26,7 @@
 Patch11:	mc-symcrash.patch
 Patch12:	mc-cstrans.patch
 Patch13:	mc-ctrl-t.patch
+Patch14:	mc-searchfix.patch
 
 %description
 Midnight Commander is a visual shell much like a file manager, only
@@ -51,6 +52,7 @@
 %patch11 -p1 -b .symcrash
 %patch12 -p1 -b .cstrans
 %patch13 -p1 -b .ctrl-t
+%patch14 -p1 -b .searchfix
 
 # convert files in /lib to UTF-8
 pushd lib
@@ -187,7 +189,11 @@
 %dir %{_datadir}/mc
 
 %changelog
-* Mon Oct  2 2005 Jindrich Novy <jnovy at redhat.com> 4.6.1a-0.17
+* Tue Oct  4 2005 Jindrich Novy <jnovy at redhat.com> 4.6.1a-0.18
+- fix off-by-one highlighting when searching backwards in mcedit (#169823)
+- fix yet another duplicates in menus for Czech locale
+
+* Mon Oct  3 2005 Jindrich Novy <jnovy at redhat.com> 4.6.1a-0.17
 - fix duplicated keyboard shortcuts in menus for Czech locale (#169734)
 - fix ctrl-t page code recoding for Russian locale, thanks to
   Andy Shevchenko (#163594)




More information about the fedora-cvs-commits mailing list