diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-08-08 22:31:18 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-08-08 22:31:18 +0200 |
| commit | 1063fa3a6556bc15f374318d901e68e16526a14f (patch) | |
| tree | 5fcc885cfc87fe494ad3f2f26b6975ac920bc2bd /tools | |
| parent | c9a3fba84d9645470b64f2174e56533fbe35c10a (diff) | |
support new odin changes.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/odinfmt/snapshot/snapshot.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/odinfmt/snapshot/snapshot.odin b/tools/odinfmt/snapshot/snapshot.odin index ba5924f..ed84e39 100644 --- a/tools/odinfmt/snapshot/snapshot.odin +++ b/tools/odinfmt/snapshot/snapshot.odin @@ -11,7 +11,7 @@ import "shared:odin/format" format_file :: proc(filepath: string, allocator := context.allocator) -> (string, bool) { style := format.default_style - style.max_characters = 80 + style.character_width = 80 style.newline_style = .LF //We want to make sure it works on linux and windows. if data, ok := os.read_entire_file(filepath, allocator); ok { |