/[ascend]/trunk/tcltk98/generic/interface/BrowserQuery.c
ViewVC logotype

Diff of /trunk/tcltk98/generic/interface/BrowserQuery.c

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

revision 67 by johnpye, Wed Nov 30 16:31:29 2005 UTC revision 114 by jds, Fri Dec 16 00:20:44 2005 UTC
# Line 341  struct gl_list_t *Asc_BrowShortestPath(C Line 341  struct gl_list_t *Asc_BrowShortestPath(C
341      gl_append_ptr(shortest,(char *)ref);      gl_append_ptr(shortest,(char *)ref);
342      return shortest;      return shortest;
343    }    }
344    if ((len=NumberParents(i))) {    if (0 != (len=NumberParents(i))) {
345      for(c=len;c>=1;c--) {      for(c=len;c>=1;c--) {
346        path = Asc_BrowShortestPath(InstanceParent(i,c),ref,height+1,mybest);        path = Asc_BrowShortestPath(InstanceParent(i,c),ref,height+1,mybest);
347        if (path!=NULL) {        if (path!=NULL) {
# Line 731  int BrowWriteInstSet(char *ftorv, CONST Line 731  int BrowWriteInstSet(char *ftorv, CONST
731        if (SetKind(s)==integer_set) {        if (SetKind(s)==integer_set) {
732          sprintf(mark, (c<len) ? "%ld," : "%ld",FetchIntMember(s,c));          sprintf(mark, (c<len) ? "%ld," : "%ld",FetchIntMember(s,c));
733        } else {        } else {
734          sprintf(mark, (c<len) ? "'%s'," : "'%s'", FetchStrMember(s,c));          sprintf(mark, (c<len) ? "'%s'," : "'%s'", SCP(FetchStrMember(s,c)));
735        }        }
736        available = 256 - strlen(tmpstr);        available = 256 - strlen(tmpstr);
737        if (available <= 80) {        if (available <= 80) {

Legend:
Removed from v.67  
changed lines
  Added in v.114

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22