termux-packages/packages/oorexx/extensions-rexxutil-platform-unix-rexxutil.cpp.patch.beforehostbuild
2022-02-06 08:51:45 +09:00

12 lines
363 B
Plaintext

--- a/extensions/rexxutil/platform/unix/rexxutil.cpp
+++ b/extensions/rexxutil/platform/unix/rexxutil.cpp
@@ -1701,7 +1701,7 @@
num++;
ptr = mystrstr(line, target, len, args[0].strlength, sensitive);
- if (ptr != '\0') {
+ if (*ptr != '\0') {
if (linenums) {
sprintf(ldp.ibuf, "%d ", (int)num);
len2 = strlen(ldp.ibuf);