summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-03-02 23:47:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-03-02 23:47:49 +0000
commitda8d9885d5bbb1fc0976851ec26d74cb06b0a45c (patch)
tree70f90ee80a0e60aadfa7a109eee4753686d97676 /amiga/gui.c
parentcd1800187eb44edf76e10a1a64dbf6bf49b236b0 (diff)
downloadnetsurf-da8d9885d5bbb1fc0976851ec26d74cb06b0a45c.tar.gz
netsurf-da8d9885d5bbb1fc0976851ec26d74cb06b0a45c.tar.bz2
debug
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 29b40bafb..ef3d9f4f8 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2777,6 +2777,7 @@ void ami_get_msg(void)
(max_fd != -1)) {
/* max_fd is the highest fd in use, but waitselect() needs to know how many
* are in use, so we add 1. */
+
if (waitselect(max_fd + 1, &read_fd_set, &write_fd_set, &except_fd_set,
NULL, (unsigned int *)&signalmask) != -1) {
signal = signalmask;
@@ -4751,6 +4752,8 @@ static void amiga_window_reformat(struct gui_window *gw)
{
struct IBox *bbox;
+ LOG("reformat window %p", gw);
+
if (gw != NULL) {
if(ami_gui_get_space_box((Object *)gw->shared->objects[GID_BROWSER], &bbox) != NSERROR_OK) {
warn_user("NoMemory", "");
@@ -5692,6 +5695,8 @@ int main(int argc, char** argv)
AddPart(script, nsoption_charp(arexx_startup), 1024);
ami_arexx_execute(script);
+ LOG("Entering main loop");
+
while (!ami_quit) {
ami_get_msg();
}