Simple "about" requester for OS3

This commit is contained in:
Chris Young 2016-01-25 19:12:54 +00:00
parent 9879cbbfae
commit a7ab6c7484
1 changed files with 9 additions and 4 deletions

View File

@ -201,10 +201,15 @@ HOOKF(void, ami_menu_item_project_about, APTR, window, struct IntuiMessage *)
TDR_Arg2,verdate,
TAG_DONE);
#else
/*\todo proper requester for OS3
* at the moment menus are disabled so won't get here anyway */
printf("NetSurf %s\nBuild date %s\n", netsurf_version, verdate);
sel = 0;
struct EasyStruct about_req = {
sizeof(struct EasyStruct),
0,
"NetSurf",
"NetSurf %s\nBuild date %s\n\nhttp://www.netsurf-browser.org",
temp2,
};
sel = EasyRequest(NULL, &about_req, NULL, netsurf_version, verdate);
#endif
free(temp2);