Update of /cvsroot/audacity/lib-src/FileDialog/win
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10633/lib-src/FileDialog/win

Modified Files:
        FileDialogPrivate.cpp 
Log Message:
Change folder test to SFGAO_FOLDER and not SFGAO_BROWSABLE

Index: FileDialogPrivate.cpp
===================================================================
RCS file: /cvsroot/audacity/lib-src/FileDialog/win/FileDialogPrivate.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- FileDialogPrivate.cpp       16 Oct 2008 16:11:48 -0000      1.12
+++ FileDialogPrivate.cpp       17 Oct 2008 10:14:24 -0000      1.13
@@ -233,7 +233,7 @@
       }
       
       // Get the attributes of the object
-      DWORD attr = SFGAO_FOLDER | SFGAO_STREAM;
+      DWORD attr = SFGAO_FOLDER | SFGAO_BROWSABLE;
       hr = ishell->GetAttributesOf(1, &fidl, &attr);
       if (!SUCCEEDED(hr))
       {
@@ -242,7 +242,7 @@
       }
       
       // Allow all folders (things like zip files get filtered below)
-      if ((attr & (SFGAO_FOLDER)) && !(attr & SFGAO_STREAM))
+      if ((attr & (SFGAO_FOLDER)) && !(attr & SFGAO_BROWSABLE))
       {
          continue;
       }


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to