[Wheat-cvs] r1/wheat memobject.cpp,1.18,1.19
Status: Pre-Alpha
Brought to you by:
mark_lentczner
From: Mark L. <mar...@us...> - 2005-06-03 23:21:34
|
Update of /cvsroot/wheat/r1/wheat In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21890/wheat Modified Files: memobject.cpp Log Message: Slight improvement to the prototype code: if absolute already, just use it Index: memobject.cpp =================================================================== RCS file: /cvsroot/wheat/r1/wheat/memobject.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- memobject.cpp 3 Jun 2005 22:54:14 -0000 1.18 +++ memobject.cpp 3 Jun 2005 23:21:24 -0000 1.19 @@ -362,6 +362,9 @@ if (prototype.isEmpty()) { m->prototype = standardPrototype(TypeObject); } + else if (prototype.isAbsolute()) { + m->prototype = prototype; + } else { Path base = NameSpace::pathTo(p.container()); Path absolute(base, prototype); |