summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-12-13 15:53:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-12-13 15:53:55 +0000
commitd46e6a6894de7450f8fd1e9ea474a1240ad206d0 (patch)
treee2c14df8c78269228f0371bb29284a22194aeb5f
parent17ec567266c6c62672aa729b0488c61c45b5d376 (diff)
downloadnetsurf-d46e6a6894de7450f8fd1e9ea474a1240ad206d0.tar.gz
netsurf-d46e6a6894de7450f8fd1e9ea474a1240ad206d0.tar.bz2
Encourage requesters onto the correct screen and remove some unneeded includes
-rwxr-xr-xamiga/misc.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/amiga/misc.c b/amiga/misc.c
index 299ef0a4e..2f2f93eb8 100755
--- a/amiga/misc.c
+++ b/amiga/misc.c
@@ -16,17 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#include <sys/types.h>
#include <sys/stat.h>
#include <proto/dos.h>
#include <proto/exec.h>
-#include <proto/intuition.h>
#include <proto/utility.h>
#include "utils/corestrings.h"
@@ -34,10 +27,7 @@
#include "utils/file.h"
#include "utils/messages.h"
#include "utils/url.h"
-#include "utils/utils.h"
-#include "desktop/cookie_manager.h"
-#include "desktop/mouse.h"
#include "desktop/gui_window.h"
#include "amiga/gui.h"
@@ -54,9 +44,8 @@ static LONG ami_misc_req(const char *message, uint32 type)
TDR_TitleString, messages_get("NetSurf"),
TDR_FormatString, message,
TDR_GadgetString, messages_get("OK"),
-#ifdef __amigaos4__
TDR_ImageType, type,
-#endif
+ TDR_Window, cur_gw ? cur_gw->shared->win : NULL,
TAG_DONE);
return ret;