[education/rkward] rkward/rbackend: Fix typo
Thomas Friedrichsmeier
null at kde.org
Thu Apr 18 17:40:15 BST 2024
Git commit 373539ff9a2bb4efffede06c9842513487352f64 by Thomas Friedrichsmeier.
Committed on 18/04/2024 at 16:38.
Pushed by tfry into branch 'master'.
Fix typo
M +2 -2 rkward/rbackend/rkrbackend.cpp
https://invent.kde.org/education/rkward/-/commit/373539ff9a2bb4efffede06c9842513487352f64
diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index fee3c769f..fe80d1c26 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -504,10 +504,10 @@ void RWriteConsoleEx (const char *buf, int buflen, int type) {
while (pos < buflen) {
int start = str.indexOf(winutf8start, pos);
if (start < 0) {
- utf8.append(RKTextCode::fromNative(str.mid(pos)));
+ utf8.append(RKTextCodec::fromNative(str.mid(pos)));
break;
}
- utf8.append(RKTextCode::fromNative(str.left(start)));
+ utf8.append(RKTextCodec::fromNative(str.left(start)));
start += winutf8start.length();
if (start >= buflen) break;
int end = str.indexOf(winutf8stop, start);
More information about the rkward-tracker
mailing list