Skip to content

Commit

Permalink
Fix #77 2
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Apr 18, 2024
1 parent c21b277 commit 5a80fe2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@
- 2024-04-18 ver.5.2.4
- The serial number file name can be specified by the settings of file.
- 2024-XX-YY ver.5.2.5
- Added a function to display the dictionary update date.
- Added a function to display the dictionary update date and time.

# 開発履歴 (Japanese)

Expand Down Expand Up @@ -954,4 +954,4 @@
- 2024年04月18日 ver.5.2.4
- ファイルの設定で連番ファイル名を指定可能にした。
- 2024年XX月YY日 ver.5.2.5
- 辞書の更新日を表示する機能を追加
- 辞書の更新日時を表示する機能を追加
6 changes: 3 additions & 3 deletions XgDictList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ void XgDictList_ReloadList(HWND hwnd)
::FileTimeToLocalFileTime(&find.ftLastWriteTime, &ftLocal);
SYSTEMTIME st;
::FileTimeToSystemTime(&ftLocal, &st);
StringCchPrintfW(szText, _countof(szText), L"%04d-%02d-%02d",
st.wYear, st.wMonth, st.wDay);
StringCchPrintfW(szText, _countof(szText), L"%04d-%02d-%02d %02d:%02d",
st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute);
item.pszText = szText;
}
item.pszText = szText;
Expand Down Expand Up @@ -182,7 +182,7 @@ XgDictListDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
ListView_InsertColumn(hwndLst1, 1, &column);

column.pszText = XgLoadStringDx1(IDS_UPDATEDDATE);
column.cx = 90;
column.cx = 125;
ListView_InsertColumn(hwndLst1, 2, &column);

// イメージリストを設定。
Expand Down

0 comments on commit 5a80fe2

Please sign in to comment.