mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 06:57:54 +02:00
TShellTreeView: ifdef some code which only applies to windows (desktop). Reported by rens groenewegen.
This commit is contained in:
parent
b3ccc3d69a
commit
9f02bfab4a
@ -1512,7 +1512,9 @@ begin
|
||||
else
|
||||
FQRootPath := '';
|
||||
RootIsAbsolute := (FQRootPath = '') or (FQRootPath = PathDelim)
|
||||
or ((Length(FQRootPath) = 3) and (FQRootPath[2] = ':') and (FQRootPath[3] = PathDelim));
|
||||
{$ifdef mswindows}
|
||||
or ((Length(FQRootPath) = 3) and (FQRootPath[2] = ':') and (FQRootPath[3] = PathDelim))
|
||||
{$endif};
|
||||
|
||||
{$ifdef debug_shellctrls}
|
||||
debugln(['SetPath: FQRootPath = ',fqrootpath]);
|
||||
|
Loading…
Reference in New Issue
Block a user