Compile fix.

This commit is contained in:
Leonardo Zide committed 2026-09-13 17:50:05 -07:00
1 parent 5b1716350f
commit 704dfce07c
1 file changed
+1 -1
+1 -1
View File
@@ -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;