Skip to content

Commit

Permalink
fix extra ittr step
Browse files Browse the repository at this point in the history
  • Loading branch information
HKhademian authored Feb 23, 2024
1 parent bae0125 commit 5e6b389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nob.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ bool generate_resource_bundle(void)

genf(out, "unsigned char bundle[] = {");
size_t row_size = 20;
for (size_t i = 0; i < bundle.count; ++i){
for (size_t i = 0; i < bundle.count; ){
fprintf(out, " ");
for (size_t col = 0; col < row_size && i < bundle.count; ++col, ++i) {
fprintf(out, "0x%02X, ", (unsigned char)bundle.items[i]);
Expand Down

0 comments on commit 5e6b389

Please sign in to comment.