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

12 lines
363 B
Plaintext
Raw Normal View History

2022-02-01 19:30:20 +01:00
--- 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);