This commit is contained in:
恍兮惚兮 2024-09-04 22:55:01 +08:00
parent a151564faa
commit 0d3cd1a478

View File

@ -303,7 +303,7 @@ class MAINUI:
) )
) )
): ):
if text != "": if text not in ("", self.currenttext):
if len(text) > globalconfig["maxlength"]: if len(text) > globalconfig["maxlength"]:
text = text[: globalconfig["maxlength"]] + "……" text = text[: globalconfig["maxlength"]] + "……"
else: else: