Skip to content

Commit 01ea561

Browse files
committed
refactor(demos): make it easier to distinguish P3 and P6 in error messages
1 parent 9a57c6c commit 01ea561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/lib/ppm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function ppm.load(path)
247247
elseif format == 'P6' then
248248
local row_err = read_raw_ppm_row(pixels[row])
249249
if row_err then
250-
return nil, nil, nil, 'Error reading pixel data: ' .. row_err
250+
return nil, nil, nil, 'Error reading raw pixel data: ' .. row_err
251251
end
252252
end
253253
end

0 commit comments

Comments
 (0)