Skip to content

Commit fe5d39d

Browse files
Fix formatting.
Signed-off-by: Joachim Reichel <[email protected]>
1 parent 77b6ace commit fe5d39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openexr.imageio/exrinput.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,8 +1352,8 @@ OpenEXRInput::read_native_scanlines(int subimage, int miplevel, int ybegin,
13521352
// FIXME There is probably some optimized code for this somewhere.
13531353
for (int c = chbegin; c < chend; ++c) {
13541354
size_t chanbytes = m_spec.channelformat(c).size();
1355-
half* src = &pixels[0][0].r + c;
1356-
half* dst = (half*)((char*)data + c * chanbytes);
1355+
half* src = &pixels[0][0].r + c;
1356+
half* dst = (half*)((char*)data + c * chanbytes);
13571357
for (int y = ybegin; y < yend; ++y) {
13581358
for (int x = 0; x < m_spec.width; ++x) {
13591359
*dst = *src;

0 commit comments

Comments
 (0)