Remove unneeded semicolons from the core library

This commit is contained in:
gingerBill
2021-08-31 22:21:13 +01:00
parent b176af2742
commit 251da264ed
187 changed files with 27227 additions and 27227 deletions
+8 -8
View File
@@ -1,11 +1,11 @@
// +build windows
package win32
import "core:strings";
import "core:strings"
call_external_process :: proc(program, command_line: string) -> bool {
si := Startup_Info{ cb=size_of(Startup_Info) };
pi := Process_Information{};
si := Startup_Info{ cb=size_of(Startup_Info) }
pi := Process_Information{}
return cast(bool)create_process_w(
utf8_to_wstring(program),
@@ -18,12 +18,12 @@ call_external_process :: proc(program, command_line: string) -> bool {
nil,
&si,
&pi,
);
)
}
open_website :: proc(url: string) -> bool {
p :: "C:\\Windows\\System32\\cmd.exe";
arg := []string{"/C", "start", url};
args := strings.join(arg, " ", context.temp_allocator);
return call_external_process(p, args);
p :: "C:\\Windows\\System32\\cmd.exe"
arg := []string{"/C", "start", url}
args := strings.join(arg, " ", context.temp_allocator)
return call_external_process(p, args)
}