/[ascend]/trunk/pygtk/library.cpp
ViewVC logotype

Diff of /trunk/pygtk/library.cpp

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

revision 533 by johnpye, Mon Apr 24 02:23:08 2006 UTC revision 534 by johnpye, Tue Apr 25 13:25:04 2006 UTC
# Line 52  Library::Library(const char *defaultpath Line 52  Library::Library(const char *defaultpath
52          char *x = Asc_GetEnv(PATHENVIRONMENTVAR);          char *x = Asc_GetEnv(PATHENVIRONMENTVAR);
53          if(x==NULL || strcmp(x,"")==0){          if(x==NULL || strcmp(x,"")==0){
54              string s = string(PATHENVIRONMENTVAR "=") + defaultpath;              string s = string(PATHENVIRONMENTVAR "=") + defaultpath;
55              cerr << "Setting" << s << endl;              cerr << "Setting " << s << endl;
56              Asc_PutEnv(s.c_str());              Asc_PutEnv(s.c_str());
57          }          }
58          Asc_ImportPathList(PATHENVIRONMENTVAR);          Asc_ImportPathList(PATHENVIRONMENTVAR);

Legend:
Removed from v.533  
changed lines
  Added in v.534

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