ZynAddSubFX: fixed win32 compilation of FLTK and MXML

Some platform-specific constants got renamed during sed-mass-replace.
Fix this by reverting concerning constant names.
This commit is contained in:
Tobias Doerffel
2009-08-28 23:53:02 +02:00
parent f1d383d04d
commit 78536d9065
2 changed files with 4 additions and 4 deletions

View File

@@ -343,7 +343,7 @@ public:
}
HRESULT __stdcall Next(ULONG celt, FORMATETC * rgelt, ULONG *pceltFetched) {
if (n > 0) return S_false;
if (n > 0) return S_FALSE;
for (ULONG i = 0; i < celt; i++) {
n++;
rgelt->cfFormat = CF_HDROP;
@@ -358,7 +358,7 @@ public:
HRESULT __stdcall Skip(ULONG celt) {
n += celt;
return (n == 0) ? S_OK : S_false;
return (n == 0) ? S_OK : S_FALSE;
}
HRESULT __stdcall Reset(void) {

View File

@@ -208,7 +208,7 @@ DllMain(HINSTANCE hinst, /* I - DLL module handle */
{
case DLL_PROCESS_ATTACH : /* Called on library initialization */
if ((_mxml_tls_index = TlsAlloc()) == TLS_OUT_OF_INDEXES)
return (false);
return (FALSE);
break;
case DLL_THREAD_DETACH : /* Called when a thread terminates */
@@ -227,7 +227,7 @@ DllMain(HINSTANCE hinst, /* I - DLL module handle */
break;
}
return (true);
return (TRUE);
}