Skip to content

Commit

Permalink
Format/include tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Jun 28, 2024
1 parent 23e0b8f commit 880e725
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions source/bsp_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#pragma once

#include <stdint.h>

#include <vector>

#include "bsp.h"
Expand Down
2 changes: 1 addition & 1 deletion source/g_doom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ bool Doom::game_interface_c::Start(const char *preset)
}
if (!ZIPF_OpenWrite(zip_filename))
{
ProgStatus("%s", _("Error (create PK3/ZIP)"), zip_filename.c_str());
ProgStatus("%s", _("Error (create PK3/ZIP)"));
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/lib_tga.cc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ tga_image_c *TGA_LoadImage(const char *path)
if (targa_header.image_type != TGA_INDEXED && targa_header.image_type != TGA_INDEXED_RLE &&
targa_header.image_type != TGA_RGB && targa_header.image_type != TGA_RGB_RLE)
{
FatalError("Bad tga file: type {} is not supported\n", targa_header.image_type);
FatalError("Bad tga file: type %d is not supported\n", targa_header.image_type);
}

int width = targa_header.width;
Expand Down

0 comments on commit 880e725

Please sign in to comment.