mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
uppsrc minor fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1008 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
87b03816c7
commit
8a53596c28
2 changed files with 526 additions and 524 deletions
|
|
@ -221,7 +221,8 @@ Image NativePathIcon(const char *path, bool folder)
|
|||
return GetFileIcon(path, false);
|
||||
#endif
|
||||
#ifdef PLATFORM_POSIX
|
||||
bool isdrive = folder && ((path == "/media") || (path == "/mnt"));
|
||||
String p = path;
|
||||
bool isdrive = folder && ((p == "/media") || (p == "/mnt"));
|
||||
FindFile ff(path);
|
||||
return isdrive ? PosixGetDriveImage(GetFileName(path))
|
||||
: GetFileIcon(path, GetFileName(path), folder, ff.GetMode() & 0111);
|
||||
|
|
|
|||
1047
uppsrc/ODBC/ODBC.cpp
1047
uppsrc/ODBC/ODBC.cpp
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue