Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
tarao committed Sep 19, 2010
1 parent aab9bc4 commit 44724e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mmwnd/mmwndhook/mmwndhook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ gnn::cached_profile& profile(void) {
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
if (reason == DLL_PROCESS_ATTACH) {
log().file(module);
#ifdef PLATFORM_X64
raw_profile().set_path(module, _T("mmwnd64"));
#else
raw_profile().set_path(module, _T("mmwnd"));
#endif // !PLATFORM_X64
mmwndhook_impl::get()->set_module_handle(module);
}
return TRUE;
Expand Down

0 comments on commit 44724e0

Please sign in to comment.