diff options
| author | Torbjörn Andersson | 2006-05-04 03:44:50 +0000 | 
|---|---|---|
| committer | Torbjörn Andersson | 2006-05-04 03:44:50 +0000 | 
| commit | 24a46d5da8604c70ab93684984f8fc599812a715 (patch) | |
| tree | c111b2040a8ae484b310575ab80da5b251735622 | |
| parent | f37cfaa7662b0ac4ffe8970005793d503a4cc7bb (diff) | |
| download | scummvm-rg350-24a46d5da8604c70ab93684984f8fc599812a715.tar.gz scummvm-rg350-24a46d5da8604c70ab93684984f8fc599812a715.tar.bz2 scummvm-rg350-24a46d5da8604c70ab93684984f8fc599812a715.zip | |
Checking if the node isValid() is no longer an option, but isDirectory() should
serve the same purpose, I believe.
svn-id: r22324
| -rw-r--r-- | gui/browser.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/gui/browser.cpp b/gui/browser.cpp index 670db992b3..c1c3d4b08e 100644 --- a/gui/browser.cpp +++ b/gui/browser.cpp @@ -159,7 +159,7 @@ BrowserDialog::BrowserDialog(const char *title, bool dirBrowser)  void BrowserDialog::open() {  	if (ConfMan.hasKey("browser_lastpath"))  		_node = FilesystemNode(ConfMan.get("browser_lastpath")); -	if (!_node.isValid()) +	if (!_node.isDirectory())  		_node = FilesystemNode();  	// Alway refresh file list | 
