Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Apr 2, 2024
1 parent 9251393 commit 25995ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dictionary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ BOOL XgLoadDictsAll(void)

// 実行ファイルのパスを取得。
WCHAR sz[MAX_PATH];
::GetModuleFileNameW(nullptr, sz, sizeof(sz));
::GetModuleFileNameW(nullptr, sz, _countof(sz));

// 実行ファイルの近くにある.dic/.tsvファイルを列挙する。
PathRemoveFileSpec(sz);
Expand Down

0 comments on commit 25995ea

Please sign in to comment.