summaryrefslogtreecommitdiffstats
path: root/crawl-ref/README.txt
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-09-20 20:33:43 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-09-23 11:34:37 -0700
commitdf8438dc4caa9d1c79304e9e3519ffa7a5b46c3f (patch)
treec2f2fc478d7a9bd10d950303f7137946c96b893c /crawl-ref/README.txt
parentfc34e6860c51592204c11112613ef368c86e6ccc (diff)
downloadcrawl-ref-df8438dc4caa9d1c79304e9e3519ffa7a5b46c3f.tar.gz
crawl-ref-df8438dc4caa9d1c79304e9e3519ffa7a5b46c3f.zip
initfile.cc: improve accuracy of crawl_base variable
Windows, Mac OS X and Linux all provide handy ways to retrieve the absolute path of the running executable. This is especially useful since argv[0] can be a relative path. This fixes a bug on the Mac OS X build where the app cannot locate the graphics resources when when they're needed, so the application bombs out instead. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/README.txt')
0 files changed, 0 insertions, 0 deletions