Skip to content

Commit cd8b991

Browse files
committed
Force sample to load the pdf from opfs
1 parent 696b8ab commit cd8b991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample-wasm/src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int main(int argc, char **argv)
1919

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

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

2525
std::cout << "Checking PDF..." << std::endl;

0 commit comments

Comments
 (0)