Welcome to eurozone!
[AROS.git] / arch / all-ios / bootstrap / ui.m
blob34f219e8494b979afbb2d67853bca6194557159e
1 #include <stdarg.h>
3 #include "appdelegate.h"
4 #include "ui.h"
6 void DisplayError(char *fmt, ...)
8     va_list ap;
9     NSString *format = [NSString stringWithCString:fmt encoding:NSISOLatin1StringEncoding];
10     BootstrapDelegate *ad = (BootstrapDelegate *)[[UIApplication sharedApplication] delegate];
12     va_start(ap, fmt);
14     NSString *text = [[NSString alloc] initWithFormat:format arguments:ap];
16     [ad ShowAlert:text withTitle:@"AROS bootstrap error"];
17     [text release];
19     va_end(ap);