]> andersk Git - moira.git/blobdiff - clients/mmoira/formup.c
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / clients / mmoira / formup.c
index 9051a280d45b61b1e1b4584022c8b874c966cc89..cabf9265b5d9f34e8e1ac9a1d7cdf7f2ca0e6204 100644 (file)
@@ -1,7 +1,7 @@
 /* $Header$ */
 
 #include       <stdio.h>
-#include       <strings.h>
+#include       <string.h>
 #include       <X11/StringDefs.h>
 #include       <X11/IntrinsicP.h>
 #include       <X11/Shell.h>
@@ -310,7 +310,7 @@ EntryForm   *spec;
                if (current->type == FT_KEYWORD) {
                    char *p;
 
-                   p = index(current->prompt, '|');
+                   p = strchr(current->prompt, '|');
                    if (p) {
                        *p++ = 0;
                        current->keyword_name = p;
This page took 0.037361 seconds and 4 git commands to generate.