Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
wsndpref
WSoundPrefs-1.1.1-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File WSoundPrefs-1.1.1-warnings.patch of Package wsndpref
--- src/SoundEvents.c +++ src/SoundEvents.c @@ -321,7 +321,7 @@ newset = WMCreatePLDictionary(NULL,NULL,NULL); key = NULL; - for(i=0;eventkey[i]!="UserDefined";i++) { + for(i=0;strcmp(eventkey[i],"UserDefined");i++) { key = WMCreatePLString(eventkey[i]); val = WMGetFromPLDictionary(WMSoundDomain,key); if(val) WMPutInPLDictionary(newset,key,val); @@ -374,7 +374,7 @@ val = WMGetFromPLArray(array, i); path = wexpandpath(WMGetFromPLString(val)); - if ((path+strlen(path)-1) != "/") + if (*(path+strlen(path)-1) != '/') path = wstrappend(path, "/"); path = wstrappend(path, file); @@ -433,7 +433,7 @@ val = WMGetFromPLArray(array, i); path = wexpandpath(WMGetFromPLString(val)); - if ((path+strlen(path)-1) != "/") { + if (*(path+strlen(path)-1) != '/') { tmp = wstrappend(path, "/"); #if 0 if (path)
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