From: <sag...@us...> - 2011-10-05 20:47:40
|
Revision: 1088 http://modplug.svn.sourceforge.net/modplug/?rev=1088&view=rev Author: saga-games Date: 2011-10-05 20:47:34 +0000 (Wed, 05 Oct 2011) Log Message: ----------- [Fix] Building with NO_VST defined was broken since a few hundred revisions ago. Modified Paths: -------------- trunk/OpenMPT/mptrack/SelectPluginDialog.cpp trunk/OpenMPT/mptrack/Vstplug.h Modified: trunk/OpenMPT/mptrack/SelectPluginDialog.cpp =================================================================== --- trunk/OpenMPT/mptrack/SelectPluginDialog.cpp 2011-10-05 18:52:07 UTC (rev 1087) +++ trunk/OpenMPT/mptrack/SelectPluginDialog.cpp 2011-10-05 20:47:34 UTC (rev 1088) @@ -16,6 +16,8 @@ #include "SelectPluginDialog.h" +#ifndef NO_VST + ///////////////////////////////////////////////////////////////////////////////// // Plugin selection dialog @@ -499,3 +501,5 @@ lpMMI->ptMinTrackSize.y = 270; CDialog::OnGetMinMaxInfo(lpMMI); } + +#endif // NO_VST Modified: trunk/OpenMPT/mptrack/Vstplug.h =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.h 2011-10-05 18:52:07 UTC (rev 1087) +++ trunk/OpenMPT/mptrack/Vstplug.h 2011-10-05 20:47:34 UTC (rev 1088) @@ -211,7 +211,7 @@ void GetPluginType(LPSTR) {} PlugParamIndex GetNumPrograms() {return 0;} bool GetProgramNameIndexed(long, long, char*) {return false;} - CString GetFormattedProgramName(VstInt32 index, bool allowFallback = false) { return "" }; + CString GetFormattedProgramName(VstInt32 index, bool allowFallback = false) { return ""; }; void SetParameter(PlugParamIndex nIndex, PlugParamValue fValue) {} void GetParamLabel(UINT, LPSTR) {} void GetParamDisplay(UINT, LPSTR) {} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |