From a70f77ad0cd931895e1b15635303ee4703064efd Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 24 Jun 2010 09:38:06 -0700 Subject: [PATCH] example: fix Win32 error-reporting code-path --- example_bass/example_bass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_bass/example_bass.cpp b/example_bass/example_bass.cpp index 98e1cac..4f9fc1f 100644 --- a/example_bass/example_bass.cpp +++ b/example_bass/example_bass.cpp @@ -67,7 +67,7 @@ void die(const char *fmt, ...) #ifdef _CONSOLE fprintf(stderr, "*** error: %s\n", temp); #else - MessageBox(NULL, temp, mainWindowTitle, MB_OK | MB_ICONERROR); + MessageBox(NULL, temp, NULL, MB_OK | MB_ICONERROR); #endif exit(EXIT_FAILURE);