]> diplodocus.org Git - nmh/blobdiff - sbr/strindex.c
print_sw.c: Move interface to own file.
[nmh] / sbr / strindex.c
index ad1d18feb70c4c0ce0fe5b46ca0d19b25992ba1f..c92da6ee6094208c1698962976f2e73c46433bbd 100644 (file)
@@ -5,7 +5,7 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
 
 int
 stringdex (char *p1, char *p2)
@@ -17,7 +17,7 @@ stringdex (char *p1, char *p2)
 
     for (p = p2; *p; p++)
        if (uprf (p, p1))
-           return (p - p2);
+           return p - p2;
 
     return -1;
 }