summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 11:30:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 11:30:37 +0000
commita54170eeeacd7f5b78c79dd81785e725c983ca98 (patch)
tree60f1a14e91782aa2f343f744b66deef42d9ed211 /amiga/gui.c
parent8dc707d554b069d14c33882ed8f156f73ebc7be4 (diff)
downloadnetsurf-a54170eeeacd7f5b78c79dd81785e725c983ca98.tar.gz
netsurf-a54170eeeacd7f5b78c79dd81785e725c983ca98.tar.bz2
Tidy up debug and increase list allocation to aid debugging
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index b61dba5f4..667a00e02 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -1852,9 +1852,11 @@ static void ami_handle_msg(void)
}
if((gwin == NULL) || (gwin->objects[OID_MAIN] == NULL)) continue;
-LOG(("while..."));
+
+ LOG(("RA_HandleInput(%p,%p) (gwin=%p)", gwin->objects[OID_MAIN], &code, gwin));
+
while((result = RA_HandleInput(gwin->objects[OID_MAIN], &code)) != WMHI_LASTMSG) {
-LOG(("%d: %d (switch)",code, result & WMHI_CLASSMASK));
+ LOG(("%d: %d (switch)",code, result & WMHI_CLASSMASK));
switch(result & WMHI_CLASSMASK) // class
{
case WMHI_MOUSEMOVE:
@@ -5129,7 +5131,7 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
break;
default:
- printf("UNHANDLED EVENT %ld\n",msg->Class);
+ LOG(("IDCMP hook unhandled event: %d\n", msg->Class));
break;
}
// ReplyMsg((struct Message *)msg);