Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
rasmol
RasMol_2.7.4.2-decrement_var.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File RasMol_2.7.4.2-decrement_var.patch of Package rasmol
--- src/transfor.c +++ src/transfor.c @@ -1632,6 +1632,11 @@ for( i=0; i<LastShade; i++ ) if( !Shade[i].refcount ) ScaleCount++; + /* the i variable must be decremented becasue after for cycle the value is + equal LastShade, what is beyond the range af array ScaleRef used below. + Or the author just forgot to give brackets along the for cycle? + */ + i--; /* If there are no shades free! */ if( !ScaleCount ) ScaleCount = LastShade;
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