Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/78dec4d5156d738c0d490...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/78dec4d5156d738c0d4901e...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/78dec4d5156d738c0d4901e67...
The branch, master has been updated
via 78dec4d5156d738c0d4901e6761ab9f406d81834 (commit)
from 2c2dc0f2bc19efde7266edeb98978a22088766ed (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=78dec4d5156d738c0d4...
commit 78dec4d5156d738c0d4901e6761ab9f406d81834
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Show warnings on OS3 with an EasyRequest
diff --git a/amiga/misc.c b/amiga/misc.c
index ea888e0..407aec1 100755
--- a/amiga/misc.c
+++ b/amiga/misc.c
@@ -22,6 +22,10 @@
#include <proto/exec.h>
#include <proto/utility.h>
+#ifndef __amigaos4__
+#include <proto/intuition.h> // for EasyRequest
+#endif
+
#include "utils/corestrings.h"
#include "utils/log.h"
#include "utils/file.h"
@@ -100,7 +104,15 @@ static LONG ami_misc_req(const char *message, uint32 type)
TDR_Window, cur_gw ? cur_gw->shared->win : NULL,
TAG_DONE);
#else
- printf("%s\n", message);
+ struct EasyStruct easyreq = {
+ sizeof(struct EasyStruct),
+ 0,
+ messages_get("NetSurf"),
+ message,
+ messages_get("OK"),
+ };
+
+ ret = EasyRequest(cur_gw ? cur_gw->shared->win : NULL, &easyreq, NULL);
#endif
return ret;
}
-----------------------------------------------------------------------
Summary of changes:
amiga/misc.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/amiga/misc.c b/amiga/misc.c
index ea888e0..407aec1 100755
--- a/amiga/misc.c
+++ b/amiga/misc.c
@@ -22,6 +22,10 @@
#include <proto/exec.h>
#include <proto/utility.h>
+#ifndef __amigaos4__
+#include <proto/intuition.h> // for EasyRequest
+#endif
+
#include "utils/corestrings.h"
#include "utils/log.h"
#include "utils/file.h"
@@ -100,7 +104,15 @@ static LONG ami_misc_req(const char *message, uint32 type)
TDR_Window, cur_gw ? cur_gw->shared->win : NULL,
TAG_DONE);
#else
- printf("%s\n", message);
+ struct EasyStruct easyreq = {
+ sizeof(struct EasyStruct),
+ 0,
+ messages_get("NetSurf"),
+ message,
+ messages_get("OK"),
+ };
+
+ ret = EasyRequest(cur_gw ? cur_gw->shared->win : NULL, &easyreq, NULL);
#endif
return ret;
}
--
NetSurf Browser