commit 8fd323f83c6e5174c984de9154426141dbddfe23
parent 0865bedc71323400bd93e0fced3b47ae93c3ca52
Author: Steven Atkinson <steven@atkinson.mn>
Date: Thu, 11 Jan 2024 22:58:45 -0800
Fix message box conditions
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/NeuralAmpModeler/NeuralAmpModeler.cpp b/NeuralAmpModeler/NeuralAmpModeler.cpp
@@ -57,12 +57,10 @@ EMsgBoxResult _ShowMessageBox(iplug::igraphics::IGraphics* pGraphics, const char
EMsgBoxType type)
{
#ifdef OS_MAC
- // Apple is backwards?
+ // macOS is backwards?
return pGraphics->ShowMessageBox(caption, str, type);
-#elif defined OS_WIN
- return pGraphics->ShowMessageBox(str, caption, type);
#else
- #error NOT IMPLEMENTED
+ return pGraphics->ShowMessageBox(str, caption, type);
#endif
}