From 6e76b7c0908d407adb4debc798c604d288e5f429 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 24 七月 2024 14:10:48 +0800
Subject: [PATCH] update

---
 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