summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <joel@JOEL-UBUNTU.(none)>2007-12-19 22:45:59 +0900
committerJoel Bosveld <joel@JOEL-UBUNTU.(none)>2007-12-19 22:45:59 +0900
commitb0688f1a31144dd864e8b931d60e72eacc4402c2 (patch)
tree70548752090c5b7fb126a8971ec922e3dd5b9349
parent928ef9567389725941f0e743078de18cd38d27a5 (diff)
downloadcubedbus-b0688f1a31144dd864e8b931d60e72eacc4402c2.tar.gz
cubedbus-b0688f1a31144dd864e8b931d60e72eacc4402c2.tar.bz2
Removed some outdated comments
-rw-r--r--cubedbusModel.c.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/cubedbusModel.c.in b/cubedbusModel.c.in
index 0b29277..1a26cf3 100644
--- a/cubedbusModel.c.in
+++ b/cubedbusModel.c.in
@@ -221,14 +221,14 @@ cubedbusAddModelObject (CubedbusObject *obj, CompOption *option, int nOption)
mtlPtr->name=malloc(sizeof(char) * 5);
strcpy (mtlPtr->name, "fake");
- /* XXX Parse MTL file and load textures XXX */
+ /* Parse MTL file and load textures */
int mtlCount;
char *tmpName;
for(mtlCount=0;mtllib[mtlCount] != NULL;mtlCount++)
{
- fp=fopen((tmpName=findPath( getStringOptionNamed(option, nOption, "file", ""), mtllib[mtlCount])) , "r"); /* XXX should get path as well XXX */
+ fp=fopen((tmpName=findPath( getStringOptionNamed(option, nOption, "file", ""), mtllib[mtlCount])) , "r");
if(fp == NULL)
{
@@ -632,7 +632,7 @@ findPath (char *object, char *file)
}
}
- filePath=malloc(sizeof(char) * (strlen(myObject)+strlen(myFile) +1 )); /* XXX */
+ filePath=malloc(sizeof(char) * (strlen(myObject)+strlen(myFile) +1 ));
sprintf(filePath, "%s/%s", myObject, &myFile[i]);
free(myObject);
free(myFile);