termux-packages/packages/oorexx/extensions-rexxutil-platfor...

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