Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97
...commit
http://git.netsurf-browser.org/netsurf.git/commit/4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97
...tree
http://git.netsurf-browser.org/netsurf.git/tree/4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97
The branch, master has been updated
via 4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97 (commit)
from cd488602073a1775c41a60d582854feec63cb676 (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=4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97
commit 4b14f9ff37b4c0614a8f039aa393aa3c6bb86c97
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Always wait for at least some time, as it's ambiguous as to whether a 0.0s
timerequest is valid.
diff --git a/frontends/amiga/schedule.c b/frontends/amiga/schedule.c
index 3cbad0d..7698129 100644
--- a/frontends/amiga/schedule.c
+++ b/frontends/amiga/schedule.c
@@ -301,6 +301,8 @@ nserror ami_schedule(int t, void (*callback)(void *p), void
*p)
{
struct nscallback *nscb;
+ if(t == 0) t = 1;
+
LOG("Scheduling callback %p with arg %p at time %d", callback, p, t);
if(schedule_list == NULL) return NSERROR_INIT_FAILED;
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/schedule.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frontends/amiga/schedule.c b/frontends/amiga/schedule.c
index 3cbad0d..7698129 100644
--- a/frontends/amiga/schedule.c
+++ b/frontends/amiga/schedule.c
@@ -301,6 +301,8 @@ nserror ami_schedule(int t, void (*callback)(void *p), void
*p)
{
struct nscallback *nscb;
+ if(t == 0) t = 1;
+
LOG("Scheduling callback %p with arg %p at time %d", callback, p, t);
if(schedule_list == NULL) return NSERROR_INIT_FAILED;
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org