Skip to content

Commit

Permalink
C语言特有的编码问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaloop committed Jul 28, 2023
1 parent f5a9d74 commit 1c90c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ExplorerPatcher/updates.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ BOOL InstallUpdatesIfAvailable(
L" </visual>\r\n"
L" <audio src=\"ms-winsoundevent:Notification.Default\" loop=\"false\" silent=\"false\"/>\r\n"
L"</toast>\r\n";
swprintf_s(buf, TOAST_BUFSIZ, text, "正在检查更新", L"当前版本", dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
swprintf_s(buf, TOAST_BUFSIZ, text, Utf8Text("正在检查更新"), Utf8Text("当前版本"), dwLeftMost, dwSecondLeft, dwSecondRight, dwRightMost);
String2IXMLDocument(
buf,
wcslen(buf),
Expand Down Expand Up @@ -1184,7 +1184,7 @@ BOOL InstallUpdatesIfAvailable(
}
else
{
swprintf_s(buf, TOAST_BUFSIZ, text, Utf8Text("没有发现新版本"), Utf8Text("暂时没有更新哦。"));
swprintf_s(buf, TOAST_BUFSIZ, text, Utf8Text("没有新版本"), Utf8Text("没有发现新版本更新。"));
}

__x_ABI_CWindows_CData_CXml_CDom_CIXmlDocument* inputXml = NULL;
Expand Down

0 comments on commit 1c90c45

Please sign in to comment.