Skip to content

Commit 47800eb

Browse files
committed
docs: Fix typos and incorrect attribute name in a comment (AcademySoftwareFoundation#5093)
Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent 9558111 commit 47800eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/include/OpenImageIO/imageio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2274,10 +2274,10 @@ class OIIO_API ImageInput {
22742274
///
22752275
/// * Whether the resolution and channel count are within the range
22762276
/// implied by `range`.
2277-
/// * Whether the channel count is within the `"limit:channels"` OIIO
2277+
/// * Whether the channel count is within the `"limits:channels"` OIIO
22782278
/// attribute.
22792279
/// * The total uncompressed pixel data size is expected to be within the
2280-
/// `"limit:imagesize_MB"` OIIO attribute.
2280+
/// `"limits:imagesize_MB"` OIIO attribute.
22812281
/// * The full_{width,height,depth} are valid and within the range.
22822282
///
22832283
bool check_open (const ImageSpec &spec,
@@ -3605,7 +3605,7 @@ class OIIO_API ImageOutput {
36053605
bool iowrite(const void* buf, size_t itemsize, size_t nitems = 1);
36063606

36073607
/// Helper: seek the proxy, akin to fseek. Return true on success, false
3608-
/// upon failure and issue an error message. (NOTE: this isionot the same
3608+
/// upon failure and issue an error message. (NOTE: this is not the same
36093609
/// return value as std::fseek, which returns 0 on success.)
36103610
bool ioseek(int64_t pos, int origin = SEEK_SET);
36113611

0 commit comments

Comments
 (0)