summaryrefslogtreecommitdiffstats
path: root/hl/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-06-09 21:29:04 (GMT)
committerGitHub <noreply@github.com>2022-06-09 21:29:04 (GMT)
commit0311d4c00a14ad2268c3b2aaa4a248c423afdbc8 (patch)
tree5fd961a0cf50912145cb0e2420566913170726d4 /hl/examples
parentb2794b474acaf9050b03239502056bdd34975db8 (diff)
downloadhdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.zip
hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.gz
hdf5-0311d4c00a14ad2268c3b2aaa4a248c423afdbc8.tar.bz2
Hdf5 1 10 sync (#1795)
* Branch sync updates and spelling * Revert format of getenv
Diffstat (limited to 'hl/examples')
-rw-r--r--hl/examples/ex_image1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/examples/ex_image1.c b/hl/examples/ex_image1.c
index ead1715..1294ab3 100644
--- a/hl/examples/ex_image1.c
+++ b/hl/examples/ex_image1.c
@@ -56,10 +56,10 @@ main(void)
H5IMmake_image_8bit(file_id, "image1", (hsize_t)WIDTH, (hsize_t)HEIGHT, buf);
/* make a palette */
- H5IMmake_palette(file_id, "pallete", pal_dims, pal);
+ H5IMmake_palette(file_id, "palette", pal_dims, pal);
/* attach the palette to the image */
- H5IMlink_palette(file_id, "image1", "pallete");
+ H5IMlink_palette(file_id, "image1", "palette");
/* close the file. */
H5Fclose(file_id);