aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-05-04 11:09:11 +0300
committerLasse Collin <lasse.collin@tukaani.org>2014-05-04 11:09:11 +0300
commitd716acdae3fa7996f9e68a7bac012e6d8d13dd02 (patch)
tree2701a998aa612a12d28697de143ba7dd451fa509 /doc/examples
parent4d5b7b3fda31241ca86ed35e08e73f776ee916e0 (diff)
downloadexternal_xz-d716acdae3fa7996f9e68a7bac012e6d8d13dd02.tar.gz
external_xz-d716acdae3fa7996f9e68a7bac012e6d8d13dd02.tar.bz2
external_xz-d716acdae3fa7996f9e68a7bac012e6d8d13dd02.zip
Docs: Update comments to refer to lzma/lzma12.h in example programs.
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/03_compress_custom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/03_compress_custom.c b/doc/examples/03_compress_custom.c
index 51abbb1..40c85e3 100644
--- a/doc/examples/03_compress_custom.c
+++ b/doc/examples/03_compress_custom.c
@@ -28,8 +28,8 @@ init_encoder(lzma_stream *strm)
// Use the default preset (6) for LZMA2.
//
// The lzma_options_lzma structure and the lzma_lzma_preset() function
- // are declared in lzma/lzma.h (src/liblzma/api/lzma/lzma.h in the
- // source package or e.g. /usr/include/lzma/lzma.h depending on
+ // are declared in lzma/lzma12.h (src/liblzma/api/lzma/lzma12.h in the
+ // source package or e.g. /usr/include/lzma/lzma12.h depending on
// the install prefix).
lzma_options_lzma opt_lzma2;
if (lzma_lzma_preset(&opt_lzma2, LZMA_PRESET_DEFAULT)) {
@@ -48,7 +48,7 @@ init_encoder(lzma_stream *strm)
// Now we could customize the LZMA2 options if we wanted. For example,
// we could set the the dictionary size (opt_lzma2.dict_size) to
// something else than the default (8 MiB) of the default preset.
- // See lzma/lzma.h for details of all LZMA2 options.
+ // See lzma/lzma12.h for details of all LZMA2 options.
//
// The x86 BCJ filter will try to modify the x86 instruction stream so
// that LZMA2 can compress it better. The x86 BCJ filter doesn't need