diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-31 23:47:57 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-31 23:47:57 +0100 |
| commit | 720884e0f1d6f15c248f8fbe7b86aa146cedac72 (patch) | |
| tree | 046cb8ca71dbce74ba3337806f00dabd3c71285b /core/log | |
| parent | 773a766b83c327069f3634ad982e29e9e06119e9 (diff) | |
Strip even more semicolons if followed by a `}` or `)` on the same line
Diffstat (limited to 'core/log')
| -rw-r--r-- | core/log/file_console_logger.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/log/file_console_logger.odin b/core/log/file_console_logger.odin index a3070cd0b..cc019617f 100644 --- a/core/log/file_console_logger.odin +++ b/core/log/file_console_logger.odin @@ -77,8 +77,8 @@ file_console_logger_proc :: proc(logger_data: rawptr, level: Level, text: string t := time.now() y, m, d := time.date(t) h, min, s := time.clock(t) - if .Date in options { fmt.sbprintf(&buf, "%d-%02d-%02d ", y, m, d); } - if .Time in options { fmt.sbprintf(&buf, "%02d:%02d:%02d", h, min, s); } + if .Date in options { fmt.sbprintf(&buf, "%d-%02d-%02d ", y, m, d) } + if .Time in options { fmt.sbprintf(&buf, "%02d:%02d:%02d", h, min, s) } fmt.sbprint(&buf, "] ") } } |