Update of /cvsroot/audacity/audacity-src/src/effects/VST
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31395/src/effects/VST
Modified Files:
LoadVST.cpp
Log Message:
Remove usage of LSTATUS...no idea why it worked on my machine and not anyone
else's.
Index: LoadVST.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/VST/LoadVST.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LoadVST.cpp 20 May 2009 06:33:45 -0000 1.1
+++ LoadVST.cpp 21 May 2009 04:25:59 -0000 1.2
@@ -195,15 +195,14 @@
dpath,
sizeof(dpath));
- LSTATUS s = SHRegGetUSValue(_T("Software\\VST"),
- _T("VSTPluginsPath"),
- NULL,
- tpath,
- &len,
- FALSE,
- dpath,
- (DWORD) _tcslen(dpath));
- if (s == ERROR_SUCCESS) {
+ if (SHRegGetUSValue(_T("Software\\VST"),
+ _T("VSTPluginsPath"),
+ NULL,
+ tpath,
+ &len,
+ FALSE,
+ dpath,
+ (DWORD) _tcslen(dpath)) == ERROR_SUCCESS) {
tpath[len] = 0;
ExpandEnvironmentStrings(tpath, dpath, sizeof(dpath));
wxGetApp().AddUniquePathToPathList(LAT1CTOWX(dpath), pathList);
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs