Copyright clean-up (part 1):
[AROS.git] / arch / all-mingw32 / bootstrap / ui.c
blobb66140557f3a83dcbc30b0837fc685caab7369ee
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdarg.h>
7 #include <stdio.h>
8 #include <windows.h>
10 #include "bootstrap.h"
11 #include "unicode.h"
13 void DisplayError(char *fmt, ...)
15 va_list args;
16 LPTSTR str;
18 va_start(args, fmt);
19 vsnprintf(buf, sizeof(buf), fmt, args);
20 va_end(args);
22 str = StrConvert(buf);
23 MessageBox(NULL, str, TEXT("AROS bootstrap error"), MB_OK|MB_ICONSTOP);
24 StrFree(str);