Skip to content

Commit f642405

Browse files
Some wchar improvements
1 parent be8e486 commit f642405

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

runtime/include/CoreClr.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
#define HostExe "/altv-server"
2929
#endif
3030

31-
// Standard headers
32-
#include <stdio.h>
33-
#include <stdint.h>
34-
#include <stdlib.h>
35-
#include <string.h>
36-
#include <assert.h>
37-
#include <iostream>
38-
3931
#ifdef _WIN32
4032
#include <Windows.h>
4133

runtime/src/CoreClr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ void CoreClr::CreateManagedHost(alt::IServer* server) {
400400
auto hostExePath = alt::String(wd) + HostExe;
401401
auto load_assembly_and_get_function_pointer = get_dotnet_load_assembly(hostCfgPathCStr);
402402
if (load_assembly_and_get_function_pointer == nullptr) {
403-
server->LogInfo(alt::String("coreclr-module: config:") + hostCfgPathCStr);
403+
server->LogInfo(alt::String("coreclr-module: config:") + hostCfgPath.CStr());
404404
server->LogInfo(alt::String("coreclr-module: host exe:") + hostExePath.CStr());
405405
return;
406406
}
@@ -414,7 +414,7 @@ void CoreClr::CreateManagedHost(alt::IServer* server) {
414414
(void**) &ExecuteResourceDelegate);
415415

416416
if (ExecuteResourceDelegate == nullptr || rc != 0) {
417-
server->LogInfo(alt::String("coreclr-module: host path:") + hostDllPathCStr);
417+
server->LogInfo(alt::String("coreclr-module: host path:") + hostDllPath.CStr());
418418
PrintError(server, rc);
419419
return;
420420
}

0 commit comments

Comments
 (0)