Skip to content

Commit

Permalink
Update MessageProc.cpp
Browse files Browse the repository at this point in the history
I guess Turol meant this change.
  • Loading branch information
kimkulling authored Apr 4, 2020
1 parent 1b0a067 commit a73fd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/assimp_view/MessageProc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void MakeFileAssociations() {
RegCreateKeyEx(HKEY_CURRENT_USER,buf,0,NULL,0,KEY_ALL_ACCESS, NULL, &hRegistry,NULL);
RegSetValueEx(hRegistry,"",0,REG_SZ,(const BYTE*)"ASSIMPVIEW_CLASS",(DWORD)strlen("ASSIMPVIEW_CLASS")+1);
RegCloseKey(hRegistry);
} while ((sz = strtok(NULL,";")) != nullptr);
} while ((sz = strtok(nullptr,";")) != nullptr);

RegCreateKeyEx(HKEY_CURRENT_USER,"Software\\Classes\\ASSIMPVIEW_CLASS",0,NULL,0,KEY_ALL_ACCESS, NULL, &hRegistry,NULL);
RegCloseKey(hRegistry);
Expand Down

0 comments on commit a73fd6c

Please sign in to comment.