changeset 68416:64e8a95ba226

(vc-sccs-state): Pass FILE to vc-user-login-name.
author André Spiegel <spiegel@gnu.org>
date Fri, 27 Jan 2006 19:12:42 +0000
parents 469f8d551600
children 01a242622a33
files lisp/vc-sccs.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-sccs.el	Fri Jan 27 19:12:13 2006 +0000
+++ b/lisp/vc-sccs.el	Fri Jan 27 19:12:42 2006 +0000
@@ -108,7 +108,7 @@
               (if (vc-workfile-unchanged-p file)
                   'up-to-date
                 'unlocked-changes)
-            (if (string= locking-user (vc-user-login-name))
+            (if (string= locking-user (vc-user-login-name file))
                 'edited
               locking-user)))
       'up-to-date)))