[Bf-committers] Small patch for HOME directory under Windows

Andrea Weikert andrea at aweikert.de
Sat Feb 26 19:30:09 CET 2005


Hello everybody,

this is my first post to the list with a really small patch for something that
caught my eye when compiling Blender yesterday. It's not a big issue, but the
patch should maybe be applied next time the file is touched.

A big thanks to all you coders, you're doing great work!

--- Elubie (Andrea Weikert)

=====================================================================
Index: util.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/blenlib/intern/util.c,v
retrieving revision 1.17
diff -u -r1.17 util.c
--- util.c 12 Dec 2004 13:29:54 -0000 1.17
+++ util.c 26 Feb 2005 17:24:39 -0000
@@ -496,7 +496,7 @@

   ret = getenv("HOME");
   if(ret) {
-   sprintf(dir, "%s\.blender", ret);
+   sprintf(dir, "%s/.blender", ret);
    if (BLI_exists(dir)) return dir;
   }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: util.c.diff
Type: application/octet-stream
Size: 468 bytes
Desc: not available
Url : http://projects.blender.org/pipermail/bf-committers/attachments/20050226/e6f2a1d2/util.c.obj


More information about the Bf-committers mailing list