/[cvs]/ccvs/src/edit.c
ViewVC logotype

Diff of /ccvs/src/edit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.85 by dprice, Fri Apr 8 18:17:01 2005 UTC revision 1.86 by jhyslop, Thu Aug 4 01:04:32 2005 UTC
# Line 32  static bool setting_tcommit; Line 32  static bool setting_tcommit;
32  static int  static int
33  onoff_fileproc (void *callerdat, struct file_info *finfo)  onoff_fileproc (void *callerdat, struct file_info *finfo)
34  {  {
35        fileattr_get0 (finfo->file, "_watched");
36      fileattr_set (finfo->file, "_watched", turning_on ? "" : NULL);      fileattr_set (finfo->file, "_watched", turning_on ? "" : NULL);
37      return 0;      return 0;
38  }  }
# Line 43  onoff_filesdoneproc (void *callerdat, in Line 44  onoff_filesdoneproc (void *callerdat, in
44                       const char *update_dir, List *entries)                       const char *update_dir, List *entries)
45  {  {
46      if (setting_default)      if (setting_default)
47        {
48            fileattr_get0 (NULL, "_watched");
49          fileattr_set (NULL, "_watched", turning_on ? "" : NULL);          fileattr_set (NULL, "_watched", turning_on ? "" : NULL);
50        }
51      return err;      return err;
52  }  }
53    

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26