From ab9cc7af0099039900e46613ed862ccecf482b00 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 25 七月 2024 15:30:19 +0800
Subject: [PATCH] update accepttext

---
 jrj/xframe/src/xstring.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jrj/xframe/src/xstring.cpp b/jrj/xframe/src/xstring.cpp
index ff59009..7beca1e 100644
--- a/jrj/xframe/src/xstring.cpp
+++ b/jrj/xframe/src/xstring.cpp
@@ -379,7 +379,7 @@
 
 xstring::operator bool()
 {
-    return this->isEmpty();
+    return !this->isEmpty();
 }
 
 const wchar_t* xstring::c_str(bool bclone) const{

--
Gitblit v1.9.3