mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Changed to string format instead of using normal string concat.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2445 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
609075f8d1
commit
284df892d8
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ namespace Greenshot.Interop.Office {
|
|||
hrefEnd = "</A>";
|
||||
}
|
||||
string htmlImgEmbedded = string.Format("<BR/>{0}<IMG border=0 hspace=0 alt=\"{1}\" align=baseline src=\"cid:{2}\"><BR/>", href, attachmentName, contentID, hrefEnd);
|
||||
string fallbackBody = "<HTML><BODY>" + htmlImgEmbedded + "</BODY></HTML>";
|
||||
string fallbackBody = string.Format("<HTML><BODY>{0}</BODY></HTML>", htmlImgEmbedded);
|
||||
if (bodyString == null) {
|
||||
bodyString = fallbackBody;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue