mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-28 04:23:42 +01:00
Ran clang-format.
This commit is contained in:
parent
ad902217ea
commit
771d844bc4
3 changed files with 5 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -4,6 +4,4 @@
|
|||
/* The structs related to the inventory are defined in game.h */
|
||||
#include "game.h"
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue