Skip to content

Commit 8fd323f

Browse files
committed
Fix message box conditions
1 parent 0865bed commit 8fd323f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

NeuralAmpModeler/NeuralAmpModeler.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ EMsgBoxResult _ShowMessageBox(iplug::igraphics::IGraphics* pGraphics, const char
5757
EMsgBoxType type)
5858
{
5959
#ifdef OS_MAC
60-
// Apple is backwards?
60+
// macOS is backwards?
6161
return pGraphics->ShowMessageBox(caption, str, type);
62-
#elif defined OS_WIN
63-
return pGraphics->ShowMessageBox(str, caption, type);
6462
#else
65-
#error NOT IMPLEMENTED
63+
return pGraphics->ShowMessageBox(str, caption, type);
6664
#endif
6765
}
6866

0 commit comments

Comments
 (0)