删除一行无用代码

This commit is contained in:
梦凌汐 2024-12-19 18:47:20 +08:00
parent b4e10279d2
commit e87f6ce103

View File

@ -160,7 +160,7 @@ public:
if(key == 8) { // backspace if(key == 8) { // backspace
if(inputstatus_ != InputStatus::Delete) { if(inputstatus_ != InputStatus::Delete) {
inputstatus_ = InputStatus::Delete; inputstatus_ = InputStatus::Delete;
std::string rst = actionmanager_.updateContent(getContent()) ? "success" : "fail"; // std::string rst = actionmanager_.updateContent(getContent()) ? "success" : "fail";
// MessageBoxA(NULL, rst.c_str(), "Update Content", MB_OK); // MessageBoxA(NULL, rst.c_str(), "Update Content", MB_OK);
} }
// 如果是第一个字符,则把当前行内容加到上一行末尾 // 如果是第一个字符,则把当前行内容加到上一行末尾