From a69f9e81c37cf463d7f19c6bd34f7da2097c25fc Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 13 Aug 2019 12:37:25 -0700 Subject: [PATCH] Fix bug in file endhook --- 4coder_default_hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4coder_default_hooks.cpp b/4coder_default_hooks.cpp index d65ab5ca..8853dec3 100644 --- a/4coder_default_hooks.cpp +++ b/4coder_default_hooks.cpp @@ -1203,7 +1203,7 @@ FILE_EXTERNALLY_MODIFIED_SIG(default_file_externally_modified){ OPEN_FILE_HOOK_SIG(default_end_file){ Scratch_Block scratch(app); String_Const_u8 buffer_name = push_buffer_unique_name(app, scratch, buffer_id); - String_Const_u8 str = push_u8_stringf(scratch, "Ending file: %s\n", buffer_name); + String_Const_u8 str = push_u8_stringf(scratch, "Ending file: %s\n", buffer_name.str); print_message(app, str); // no meaning for return return(0);