Skip to content

Commit

Permalink
Force sample to load the pdf from opfs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovgs committed May 30, 2024
1 parent 696b8ab commit cd8b991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample-wasm/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int main(int argc, char **argv)

std::cout << "Loading PDF..." << std::endl;

FPDF_STRING testDoc = "assets/web-assembly.pdf";
FPDF_STRING testDoc = "web-assembly-opfs.pdf";
FPDF_DOCUMENT doc = FPDF_LoadDocument(testDoc, nullptr);

std::cout << "Checking PDF..." << std::endl;
Expand Down

0 comments on commit cd8b991

Please sign in to comment.