--- tc.prompt.c.bak     Thu Apr 20 11:47:23 2000
+++ tc.prompt.c Fri Apr 21 08:31:17 2000
@@ -222,7 +222,7 @@
                    fmthist('R', info, (char *) (cz = cbuff), sizeof(cbuff));
                else
                    cz = (unsigned char *) str;
-               if (str != NULL)
+               if (cz != NULL)
                    for (; *cz; *p++ = attributes | *cz++)
                        if (p >= ep) break;
                break;
@@ -477,7 +477,7 @@
            case 'w':
                if (p >= ep - 5) break;
                for (cz = (unsigned char *) month_list[t->tm_mon]; *cz;
-                   *p++ = attributes | *cz++);
+                   *p++ = attributes | *cz++)
                    if (p >= ep) break;
                break;
            case 'W':
-- 
Andrey A. Chernov
<[EMAIL PROTECTED]>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to