aboutsummaryrefslogtreecommitdiff
path: root/core/sys
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-03-13 21:18:07 +0000
committergingerBill <bill@gingerbill.org>2021-03-13 21:18:07 +0000
commita60d22fefd957eeca7e7403c51e656dd552cad8b (patch)
tree1b0bccef7346012f0338d53f5aebaaa9e998ec56 /core/sys
parent8123ff83a3ff7836a5abc7f28c63646f41a038e5 (diff)
Make trailing comma usage consistent
Diffstat (limited to 'core/sys')
-rw-r--r--core/sys/win32/general.odin10
-rw-r--r--core/sys/win32/helpers.odin18
2 files changed, 14 insertions, 14 deletions
diff --git a/core/sys/win32/general.odin b/core/sys/win32/general.odin
index 4c4eaa289..3f78397f3 100644
--- a/core/sys/win32/general.odin
+++ b/core/sys/win32/general.odin
@@ -44,7 +44,7 @@ Wnd_Class_A :: struct {
icon: Hicon,
cursor: Hcursor,
background: Hbrush,
- menu_name, class_name: cstring
+ menu_name, class_name: cstring,
}
Wnd_Class_W :: struct {
@@ -55,7 +55,7 @@ Wnd_Class_W :: struct {
icon: Hicon,
cursor: Hcursor,
background: Hbrush,
- menu_name, class_name: Wstring
+ menu_name, class_name: Wstring,
}
Wnd_Class_Ex_A :: struct {
@@ -169,7 +169,7 @@ Process_Information :: struct {
process: Handle,
thread: Handle,
process_id: u32,
- thread_id: u32
+ thread_id: u32,
}
Startup_Info :: struct {
@@ -355,7 +355,7 @@ OS_Version_Info_Ex_A :: struct {
service_pack_minor: u16,
suite_mask: u16,
product_type: u8,
- reserved: u8
+ reserved: u8,
}
MAPVK_VK_TO_VSC :: 0;
@@ -947,7 +947,7 @@ Paint_Struct :: struct {
rc_paint: Rect,
restore: Bool,
inc_update: Bool,
- rgb_reserved: [32]byte
+ rgb_reserved: [32]byte,
}
diff --git a/core/sys/win32/helpers.odin b/core/sys/win32/helpers.odin
index fd8b7c3c5..7e551c077 100644
--- a/core/sys/win32/helpers.odin
+++ b/core/sys/win32/helpers.odin
@@ -10,14 +10,14 @@ call_external_process :: proc(program, command_line: string) -> bool {
return cast(bool)create_process_w(
utf8_to_wstring(program),
utf8_to_wstring(command_line),
- nil,
- nil,
- Bool(false),
- u32(0x10),
- nil,
- nil,
- &si,
- &pi
+ nil,
+ nil,
+ Bool(false),
+ u32(0x10),
+ nil,
+ nil,
+ &si,
+ &pi,
);
}
@@ -26,4 +26,4 @@ open_website :: proc(url: string) -> bool {
arg := []string{"/C", "start", url};
args := strings.join(arg, " ", context.temp_allocator);
return call_external_process(p, args);
-} \ No newline at end of file
+}