Bug 697898 - murun's Page.getLinks returns the same URI multiple times
Summary: murun's Page.getLinks returns the same URI multiple times
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: apps (show other bugs)
Version: master
Hardware: All All
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 19:26 UTC by Zaki Mughal
Modified: 2018-11-09 17:10 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Patch that changes s/link/links/ and s/n/link/ (1.14 KB, patch)
2017-05-12 19:26 UTC, Zaki Mughal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zaki Mughal 2017-05-12 19:26:29 UTC
Created attachment 13675 [details]
Patch that changes s/link/links/ and s/n/link/

The reason for this is because the code does not use correct iterator variable name in the for-loop. Attached is a patch that changes the variable names to fix this.
Comment 1 Tor Andersson 2018-11-09 17:10:05 UTC
commit db938eebb82e08f6de82c4f1d8536d589a94ddcf
Author: Tor Andersson <tor.andersson@artifex.com>
Date:   Mon May 15 16:10:08 2017 +0200

    Fix 697898: Typo in iterator in JS Page.getLinks().