Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce

The branch, master has been updated
       via  64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce (commit)
      from  27ee92c8721f982b79432689dbcb5439bb4fadc2 (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=64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce
commit 64ee8e1b00438ea87ba10ea6dd34e6d3000c28ce
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    html.c: Correct ordering for reformat time
    
    Fix a minor bug where we'd likely never end up reformatting.
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index af1040b..ba80ad1 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -1564,7 +1564,7 @@ static void html_reformat(struct content *c, int width, 
int height)
        /* calculate next reflow time at three times what it took to reflow */
        nsu_getmonotonic_ms(&ms_after);
 
-       ms_interval = (ms_before - ms_after) * 3;
+       ms_interval = (ms_after - ms_before) * 3;
        if (ms_interval < (nsoption_uint(min_reflow_period) * 10)) {
                ms_interval = nsoption_uint(min_reflow_period) * 10;
        }


-----------------------------------------------------------------------

Summary of changes:
 content/handlers/html/html.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index af1040b..ba80ad1 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -1564,7 +1564,7 @@ static void html_reformat(struct content *c, int width, 
int height)
        /* calculate next reflow time at three times what it took to reflow */
        nsu_getmonotonic_ms(&ms_after);
 
-       ms_interval = (ms_before - ms_after) * 3;
+       ms_interval = (ms_after - ms_before) * 3;
        if (ms_interval < (nsoption_uint(min_reflow_period) * 10)) {
                ms_interval = nsoption_uint(min_reflow_period) * 10;
        }


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to