aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-07-06 22:43:55 +0100
committerGinger Bill <bill@gingerbill.org>2017-07-06 22:43:55 +0100
commit2db03cb4a54eaa594ca0d3ccb6819a8d56e7efed (patch)
tree255b286dc38003c2e7308250b73753922aec9034 /src/main.cpp
parenteed873c6ec9ac1631fbf1285d4047596b353e9bf (diff)
Fix aprint* bug; NULL -> nullptr; Better error messages for overloaded functions
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9cdf10cc7..e4e921d21 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -41,8 +41,8 @@ i32 system_exec_command_line_app(char *name, bool is_silent, char *fmt, ...) {
cmd = string_to_string16(string_buffer_allocator, make_string(cast(u8 *)cmd_line, cmd_len-1));
- if (CreateProcessW(NULL, cmd.text,
- NULL, NULL, true, 0, NULL, NULL,
+ if (CreateProcessW(nullptr, cmd.text,
+ nullptr, nullptr, true, 0, nullptr, nullptr,
&start_info, &pi)) {
WaitForSingleObject(pi.hProcess, INFINITE);
GetExitCodeProcess(pi.hProcess, cast(DWORD *)&exit_code);