revert between 56095 -> 55830 in arch
[AROS.git] / workbench / devs / diskimage / raauto / raauto_alerts.c
blob0569dd6dd23f69120b7172adbb471da553f49552
1 #include <proto/dos.h>
2 #include <proto/intuition.h>
3 #include <stdio.h>
4 #include "raauto_alerts.h"
6 void RAAutoClassNotFound (CONST_STRPTR class_name) {
7 TEXT alert_message[256];
8 snprintf(alert_message, sizeof(alert_message), "%c%c%c" "Failed to open class '%s'." "%c%c"
9 "%c%c%c" "Make sure that you have a new enough version of ClassAct or ReAction" "%c%c"
10 "%c%c%c" "installed on your system." "%c%c",
11 0, 16, 16, FilePart(class_name), 0, 1,
12 0, 16, 28, 0, 1,
13 0, 16, 40, 0, 0);
14 DisplayAlert(RECOVERY_ALERT, alert_message, 52);