Skip to content

Commit

Permalink
sakura-editor#18, sakura-editor#19: hash → GitHash
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed May 31, 2018
1 parent 38ad5d5 commit eee259f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sakura_core/dlg/CDlgAbout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ BOOL CDlgAbout::OnInitDialog( HWND hwndDlg, WPARAM wParam, LPARAM lParam )

// 以下の形式で出力
//サクラエディタ Ver. 2.0.0.0
//(hash xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
//(GitHash xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
//
// Share Ver: 96
// Compile Info: V 1400 WR WIN600/I601/C000/N600
Expand All @@ -168,7 +168,7 @@ BOOL CDlgAbout::OnInitDialog( HWND hwndDlg, WPARAM wParam, LPARAM lParam )
DWORD dwVersionMS, dwVersionLS;
GetAppVersionInfo( NULL, VS_VERSION_INFO, &dwVersionMS, &dwVersionLS );
#if defined(GIT_COMMIT_HASH)
auto_sprintf(szMsg, _T("Ver. %d.%d.%d.%d\r\n(hash ") _T(GIT_COMMIT_HASH) _T(")\r\n"),
auto_sprintf(szMsg, _T("Ver. %d.%d.%d.%d\r\n(GitHash ") _T(GIT_COMMIT_HASH) _T(")\r\n"),
HIWORD(dwVersionMS),
LOWORD(dwVersionMS),
HIWORD(dwVersionLS),
Expand Down
2 changes: 1 addition & 1 deletion sakura_core/sakura_rc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2813,7 +2813,7 @@ BEGIN
VALUE "ProductName", "�T�N���G�f�B�^\0"
VALUE "ProductVersion", PR_VER_STR
#if defined(GIT_SHORT_COMMIT_HASH)
" (hash " GIT_SHORT_COMMIT_HASH ")"
" (GitHash " GIT_SHORT_COMMIT_HASH ")"
#elif (SVN_REV != 0)
" (Rev." SVN_REV_STR ")"
#endif
Expand Down

0 comments on commit eee259f

Please sign in to comment.