From 74ebee5d3a81a39766ba8cd436a548449ea887b0 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Sat, 2 Mar 2024 12:55:03 +0800 Subject: tree-wide: use FREE_AND_NULLIFY macro and reformat code Jeez idk why i forgot the pass-by-value feature, so the original version never gets the pointer nullified. Fix it by using our favourite C-style macro. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 1971add..b6cc95c 100644 --- a/src/main.c +++ b/src/main.c @@ -6,8 +6,8 @@ #include #include -#include "toml.h" #include "nfd.h" +#include "toml.h" #define MAX_VERTEX_BUFFER 512 * 1024 #define MAX_ELEMENT_BUFFER 128 * 1024 #define NK_INCLUDE_FIXED_TYPES -- cgit v1.2.3