Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[x64対応] c4477 の警告を修正 #89

Merged
merged 1 commit into from
Jun 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
#88: C4477 の警告を修正する
  • Loading branch information
m-tmatma committed Jun 10, 2018
commit e1c071764a701daecffdc992410ec19fddce2069
4 changes: 2 additions & 2 deletions sakura_core/_os/CClipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ bool CClipboard::SetHtmlText(const CNativeW& cmemBUf)
size_t size = cmemUtf8.GetStringLength() + 134;
cmemHeader.AppendString("Version:0.9\r\n");
cmemHeader.AppendString("StartHTML:00000097\r\n");
sprintf( szFormat, "EndHTML:%08d\r\n", size + 36 );
sprintf( szFormat, "EndHTML:%08Id\r\n", size + 36 );
cmemHeader.AppendString(szFormat);
cmemHeader.AppendString("StartFragment:00000134\r\n");
sprintf( szFormat, "EndFragment:%08d\r\n", size );
sprintf( szFormat, "EndFragment:%08Id\r\n", size );
cmemHeader.AppendString(szFormat);
cmemHeader.AppendString("<html><body>\r\n<!--StartFragment -->\r\n");
CNativeA cmemFooter;
Expand Down
2 changes: 1 addition & 1 deletion sakura_core/util/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ BOOL MyWinHelp(HWND hwndCaller, UINT uCommand, DWORD_PTR dwData)
dwData = 1; // �ڎ��y�[�W

TCHAR buf[256];
_stprintf( buf, _T("http://sakura-editor.sourceforge.net/cgi-bin/hid2.cgi?%d"), dwData );
_stprintf( buf, _T("http://sakura-editor.sourceforge.net/cgi-bin/hid2.cgi?%Id"), dwData );
ShellExecute( ::GetActiveWindow(), NULL, buf, NULL, NULL, SW_SHOWNORMAL );
}

Expand Down