From bf4198d9103dcd594792802136e17f071e9322a0 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Mon, 27 Nov 2017 18:26:56 -0500 Subject: [PATCH] Updated version, looking around in app_step --- 4coder_API/version.h | 2 +- 4ed.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/4coder_API/version.h b/4coder_API/version.h index 9c5f1c9c..96af5af3 100644 --- a/4coder_API/version.h +++ b/4coder_API/version.h @@ -1,6 +1,6 @@ #define MAJOR 4 #define MINOR 0 -#define PATCH 24 +#define PATCH 25 // string #define VN__(a,b,c) #a "." #b "." #c diff --git a/4ed.cpp b/4ed.cpp index 891d5981..48fa2ff3 100644 --- a/4ed.cpp +++ b/4ed.cpp @@ -1808,8 +1808,7 @@ App_Step_Sig(app_step){ i32 preserved_inputs = ArrayCount(debug->input_events) - count; debug->this_frame_count = count; - memmove(events + count, events, - sizeof(Debug_Input_Event)*preserved_inputs); + memmove(events + count, events, sizeof(Debug_Input_Event)*preserved_inputs); for (i32 i = 0; i < key_data.count; ++i){ Key_Event_Data key = get_single_key(&key_data, i);