Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
slade
basepk3.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File basepk3.diff of Package slade
From: Jan Engelhardt <jengelh@inai.de> Search for the resource file in /usr/share/slade, and prefer ~/.slade over anything else. (DIR_RES is /usr/share/appinfo according to wxWidgets, which is not used in Linux distros.) --- src/Archive/ArchiveManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index: SLADE-3.1.1.4/src/Archive/ArchiveManager.cpp =================================================================== --- SLADE-3.1.1.4.orig/src/Archive/ArchiveManager.cpp +++ SLADE-3.1.1.4/src/Archive/ArchiveManager.cpp @@ -138,14 +138,12 @@ bool ArchiveManager::init() } // Find slade3.pk3 directory - string dir_slade_pk3 = appPath("slade.pk3", DIR_RES); + string dir_slade_pk3 = appPath("slade.pk3", DIR_USER); if (!wxFileExists(dir_slade_pk3)) dir_slade_pk3 = appPath("slade.pk3", DIR_DATA); if (!wxFileExists(dir_slade_pk3)) dir_slade_pk3 = appPath("slade.pk3", DIR_APP); if (!wxFileExists(dir_slade_pk3)) - dir_slade_pk3 = appPath("slade.pk3", DIR_USER); - if (!wxFileExists(dir_slade_pk3)) dir_slade_pk3 = "slade.pk3"; // Open slade.pk3
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