diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-23 19:45:45 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-23 19:45:45 +0100 |
| commit | fa7d7938e1faeed446d22cdc65bb072620b8d35a (patch) | |
| tree | 496f4a6a12ec5cd676499ad61a9a85898471edc4 /src/common.cpp | |
| parent | a31bab5aae10757f5029b00e39beb0e3815b92b1 (diff) | |
Fix push_* with better defer system
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.cpp b/src/common.cpp index fb4223d9d..c807e8565 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -12,7 +12,7 @@ String get_module_dir(gbAllocator a) { gbTempArenaMemory tmp = gb_temp_arena_memory_begin(&string_buffer_arena); defer (gb_temp_arena_memory_end(tmp)); - + wchar_t *text = gb_alloc_array(string_buffer_allocator, wchar_t, len+1); String16 str = {text, len}; @@ -25,7 +25,7 @@ String get_module_dir(gbAllocator a) { } path.len--; } - + return path; } |