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 "map.h"
#include "npc.h"
#include "mapdata.h"
#include "npc.h"
#include <gint/cpu.h>
#include <gint/display.h>

View file

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

View file

@ -120,9 +120,10 @@ int main(void) {
extern char *_message_buffer;
_message_buffer = NULL;
_message_buffer = malloc(MESSAGE_BUFFER_SZ);
if(!_message_buffer){
dtext(64, 64, C_BLACK, "Failed to allocate the message buffer: not "
"enough RAM available. Press any key to quit.");
if(!_message_buffer) {
dtext(64, 64, C_BLACK,
"Failed to allocate the message buffer: not "
"enough RAM available. Press any key to quit.");
dupdate();
getkey();
return 0;