Because this is code frequently touched by standalone developers, I thought it worthwhile to make it (in my eyes) a little more readable.
It's not important for me, so I won't bother to open a PR. Regards --- sys_unix.c.orig 2011-02-04 13:04:56.400235000 +0100 +++ sys_unix.c 2011-02-18 23:53:42.000000000 +0100 @@ -59,17 +59,17 @@ #ifdef MACOS_X Q_strcat(homePath, sizeof(homePath), "Library/Application Support/"); +#endif if(com_homepath->string[0]) Q_strcat(homePath, sizeof(homePath), com_homepath->string); - else + else { +#ifdef MACOS_X Q_strcat(homePath, sizeof(homePath), "Quake3"); #else - if(com_homepath->string[0]) - Q_strcat(homePath, sizeof(homePath), com_homepath->string); - else Q_strcat(homePath, sizeof(homePath), ".q3a"); #endif + } } } _______________________________________________ ioquake3 mailing list ioquake3@lists.ioquake.org http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.