[BACK]Return to help.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/help.c between version 1.18 and 1.19

version 1.18, 2002/06/21 05:37:20 version 1.19, 2002/07/01 14:33:44
Line 141 
Line 141 
                 if (fun == rescan || fun == selfinsert)                  if (fun == rescan || fun == selfinsert)
                         continue;                          continue;
                 keyname(buf, sizeof(buf), c);                  keyname(buf, sizeof(buf), c);
                 snprintf(key, sizeof key, "%s%s ", prefix, buf);                  (void)snprintf(key, sizeof key, "%s%s ", prefix, buf);
                 if (fun == NULL) {                  if (fun == NULL) {
                         if (showall(bp, newmap, key) == FALSE)                          if (showall(bp, newmap, key) == FALSE)
                                 return FALSE;                                  return FALSE;
Line 229 
Line 229 
                 if (nfun == NULL) {                  if (nfun == NULL) {
                         if (findbind(newmap, fun, buf2, sizeof(buf2)) == TRUE) {                          if (findbind(newmap, fun, buf2, sizeof(buf2)) == TRUE) {
                                 keyname(key, sizeof(key), c);                                  keyname(key, sizeof(key), c);
                                 snprintf(buf, len, "%s %s", key, buf2);                                  (void)snprintf(buf, len, "%s %s", key, buf2);
                                 return TRUE;                                  return TRUE;
                         }                          }
                 }                  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19