Fixed annotate call for new delete argument values.
authorJon Steinhart <jon@fourwinds.com>
Mon, 12 Dec 2005 22:30:44 +0000 (22:30 +0000)
committerJon Steinhart <jon@fourwinds.com>
Mon, 12 Dec 2005 22:30:44 +0000 (22:30 +0000)
uip/whatnowsbr.c

index 53320d3..1935384 100644 (file)
@@ -447,10 +447,10 @@ WhatNow (int argc, char **argv)
                    *(strchr(shell, '\n')) = '\0';
 
                    if (*shell == '/')
-                       (void)annotate(drft, attach, shell, 1, 0, -1, 1);
+                       (void)annotate(drft, attach, shell, 1, 0, -2, 1);
                    else {
                        (void)sprintf(file, "%s/%s", cwd, shell);
-                       (void)annotate(drft, attach, file, 1, 0, -1, 1);
+                       (void)annotate(drft, attach, file, 1, 0, -2, 1);
                    }
                }