mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 06:02:37 -05:00
Minor updates for compilation against 2.8.0. Cosmetic changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5003669541
commit
f938d8cc34
5 changed files with 50 additions and 30 deletions
|
|
@ -36,9 +36,9 @@ bool rbutilFrmApp::OnInit()
|
|||
// DANGER! GetDataDir() doesn't portably return the application directory
|
||||
// We want to use the form below instead, but not until wxWidgets 2.8 is
|
||||
// released.
|
||||
// gv->AppDir = gv->stdpaths->GetExecutablePath()->BeforeLast(&pathsep);
|
||||
buf = gv->stdpaths->GetDataDir(); buf.Append(PATH_SEP);
|
||||
gv->AppDir = buf.BeforeLast(PATH_SEP_CHR).c_str();
|
||||
gv->AppDir = gv->stdpaths->GetExecutablePath().BeforeLast(PATH_SEP_CHR);
|
||||
// buf = gv->stdpaths->GetDataDir(); buf.Append(PATH_SEP);
|
||||
// gv->AppDir = buf.BeforeLast(PATH_SEP_CHR).c_str();
|
||||
|
||||
buf = gv->stdpaths->GetUserDataDir();
|
||||
if (! wxDirExists(buf) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue