Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
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.11/src/Archive/ArchiveManager.cpp =================================================================== --- SLADE-3.1.11.orig/src/Archive/ArchiveManager.cpp +++ SLADE-3.1.11/src/Archive/ArchiveManager.cpp @@ -153,14 +153,12 @@ bool ArchiveManager::init() } // Find slade3.pk3 directory - string dir_slade_pk3 = App::path("slade.pk3", App::Dir::Resources); + string dir_slade_pk3 = App::path("slade.pk3", App::Dir::User); if (!wxFileExists(dir_slade_pk3)) dir_slade_pk3 = App::path("slade.pk3", App::Dir::Data); if (!wxFileExists(dir_slade_pk3)) dir_slade_pk3 = App::path("slade.pk3", App::Dir::Executable); if (!wxFileExists(dir_slade_pk3)) - dir_slade_pk3 = App::path("slade.pk3", App::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