#94448# search for printer drivers stopped at first empty directory
This commit is contained in:
parent
70c0362b60
commit
c64a5e4949
1 changed files with 3 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: adddlg.cxx,v $
|
* $RCSfile: adddlg.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.7 $
|
* $Revision: 1.8 $
|
||||||
*
|
*
|
||||||
* last change: $Author: pl $ $Date: 2001-09-04 16:24:50 $
|
* last change: $Author: pl $ $Date: 2001-12-19 15:36:55 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -195,7 +195,7 @@ void APChooseDriverPage::updateDrivers()
|
||||||
aPath.AppendAscii( "/" );
|
aPath.AppendAscii( "/" );
|
||||||
aPath.Append( String( RTL_CONSTASCII_USTRINGPARAM( PSPRINT_PPDDIR ) ) );
|
aPath.Append( String( RTL_CONSTASCII_USTRINGPARAM( PSPRINT_PPDDIR ) ) );
|
||||||
if( access( ByteString( aPath, aEncoding ).GetBuffer(), F_OK ) )
|
if( access( ByteString( aPath, aEncoding ).GetBuffer(), F_OK ) )
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
::std::list< String > aFiles;
|
::std::list< String > aFiles;
|
||||||
FindFiles( aPath, aFiles, String( RTL_CONSTASCII_USTRINGPARAM( "PS;PPD" ) ) );
|
FindFiles( aPath, aFiles, String( RTL_CONSTASCII_USTRINGPARAM( "PS;PPD" ) ) );
|
||||||
|
|
Loading…
Reference in a new issue