mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +00:00
Compile fix.
This commit is contained in:
1 parent
5b1716350f
commit
704dfce07c
1 file changed
+1
-1
+1
-1
@@ -85,7 +85,7 @@ static void lcRegisterShellFileTypes()
|
||||
|
||||
GetModuleFileName(nullptr, LongModulePath, _MAX_PATH);
|
||||
if (GetShortPathName(LongModulePath, ModulePath, _MAX_PATH) == 0)
|
||||
lstrcpy(modulePath, longModulePath);
|
||||
lstrcpy(ModulePath, LongModulePath);
|
||||
|
||||
if (RegSetValue(HKEY_CLASSES_ROOT, TEXT("LeoCAD.Project"), REG_SZ, TEXT("LeoCAD Project"), lstrlen(TEXT("LeoCAD Project")) * sizeof(TCHAR)) != ERROR_SUCCESS)
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user