Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-24sp
imagelib
Commits
9fc2f5b3
Commit
9fc2f5b3
authored
1 year ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
fix type typo
parent
da167c8a
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bmp.c
+1
-1
bmp.c
with
1 addition
and
1 deletion
+1
-1
bmp.c
View file @
9fc2f5b3
...
...
@@ -113,7 +113,7 @@ void bmp_write(image_t *img, dimensions_t size, char *filename) {
.
color_space_type
=
{
"Win "
}
};
for
(
s
size_t
i
=
0
;
i
<
size
.
height
;
i
++
)
{
for
(
size_t
i
=
0
;
i
<
size
.
height
;
i
++
)
{
for
(
size_t
j
=
0
;
j
<
size
.
width
;
j
++
)
{
size_t
idx
=
data_size
-
NUM_COLOR_COMPONENTS
*
((
i
+
1
)
*
size
.
width
-
j
);
rgba_color_t
color
=
image_get_pixel
(
img
,
i
,
j
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help