From e1c071764a701daecffdc992410ec19fddce2069 Mon Sep 17 00:00:00 2001 From: Masaru Tsuchiyama Date: Mon, 11 Jun 2018 08:17:10 +0900 Subject: [PATCH] =?UTF-8?q?#88:=20C4477=20=E3=81=AE=E8=AD=A6=E5=91=8A?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://msdn.microsoft.com/ja-jp/library/tcxf1dw6.aspx --- sakura_core/_os/CClipboard.cpp | 4 ++-- sakura_core/util/shell.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sakura_core/_os/CClipboard.cpp b/sakura_core/_os/CClipboard.cpp index af69462211..e302783ef3 100644 --- a/sakura_core/_os/CClipboard.cpp +++ b/sakura_core/_os/CClipboard.cpp @@ -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("\r\n\r\n"); CNativeA cmemFooter; diff --git a/sakura_core/util/shell.cpp b/sakura_core/util/shell.cpp index 481c360f30..cd9c3404d5 100644 --- a/sakura_core/util/shell.cpp +++ b/sakura_core/util/shell.cpp @@ -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 ); }