mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-07 04:11:51 -04:00
Changed libdtool to libp3dtool
This commit is contained in:
parent
0c9ebbc8d1
commit
d216c24d17
@ -381,7 +381,7 @@ void ExecutionEnvironment::
|
|||||||
read_args() {
|
read_args() {
|
||||||
|
|
||||||
#ifdef WIN32_VC
|
#ifdef WIN32_VC
|
||||||
HMODULE dllhandle = GetModuleHandle("libdtool.dll");
|
HMODULE dllhandle = GetModuleHandle("libp3dtool.dll");
|
||||||
if (dllhandle != 0) {
|
if (dllhandle != 0) {
|
||||||
static const DWORD buffer_size = 1024;
|
static const DWORD buffer_size = 1024;
|
||||||
char buffer[buffer_size];
|
char buffer[buffer_size];
|
||||||
@ -404,7 +404,7 @@ read_args() {
|
|||||||
maps.getline(buffer, PATH_MAX);
|
maps.getline(buffer, PATH_MAX);
|
||||||
char *tail = strrchr(buffer,'/');
|
char *tail = strrchr(buffer,'/');
|
||||||
char *head = strchr(buffer,'/');
|
char *head = strchr(buffer,'/');
|
||||||
if (tail && head && (strcmp(tail,"/libdtool.so")==0)) {
|
if (tail && head && (strcmp(tail,"/libp3dtool.so")==0)) {
|
||||||
_dtool_name = head;
|
_dtool_name = head;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user