Ran clang-format.

This commit is contained in:
mibi88 2024-08-01 19:11:11 +02:00
parent ad902217ea
commit 771d844bc4
3 changed files with 5 additions and 6 deletions

View file

@ -2,8 +2,8 @@
#include "config.h" #include "config.h"
#include "map.h" #include "map.h"
#include "npc.h"
#include "mapdata.h" #include "mapdata.h"
#include "npc.h"
#include <gint/cpu.h> #include <gint/cpu.h>
#include <gint/display.h> #include <gint/display.h>

View file

@ -4,6 +4,4 @@
/* The structs related to the inventory are defined in game.h */ /* The structs related to the inventory are defined in game.h */
#include "game.h" #include "game.h"
#endif #endif

View file

@ -121,7 +121,8 @@ int main(void) {
_message_buffer = NULL; _message_buffer = NULL;
_message_buffer = malloc(MESSAGE_BUFFER_SZ); _message_buffer = malloc(MESSAGE_BUFFER_SZ);
if(!_message_buffer) { if(!_message_buffer) {
dtext(64, 64, C_BLACK, "Failed to allocate the message buffer: not " dtext(64, 64, C_BLACK,
"Failed to allocate the message buffer: not "
"enough RAM available. Press any key to quit."); "enough RAM available. Press any key to quit.");
dupdate(); dupdate();
getkey(); getkey();