Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
f-spot
f-spot-fix-findbar-crash-bnc594142.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File f-spot-fix-findbar-crash-bnc594142.patch of Package f-spot
Index: f-spot-0.6.1.5/src/Widgets/FindBar.cs =================================================================== --- f-spot-0.6.1.5.orig/src/Widgets/FindBar.cs +++ f-spot-0.6.1.5/src/Widgets/FindBar.cs @@ -115,8 +115,7 @@ namespace FSpot.Widgets { { int length = args.EndPos - args.StartPos; //Log.Debug ("start {0} end {1} len {2} last {3}", args.StartPos, args.EndPos, length, last_entry_text); - string txt = last_entry_text.Substring (args.StartPos, length); - + string txt = length < 0 ? last_entry_text : last_entry_text.Substring (args.StartPos, length); for (int i = 0; i < txt.Length; i++) { if (txt [i] == '(') open_parens--;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor