- Fixed: Missing a slash in the path to zdoom.ini on a Mac.

SVN r1788 (trunk)
This commit is contained in:
Randy Heit 2009-09-03 04:40:13 +00:00
parent 8992f71773
commit 41be75a49e

View file

@ -26,7 +26,7 @@
** NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ** NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OFf
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**--------------------------------------------------------------------------- **---------------------------------------------------------------------------
** **
@ -553,7 +553,7 @@ FString FGameConfigFile::GetConfigPath (bool tryProg)
noErr == FSRefMakePath(&folder, (UInt8*)cpath, PATH_MAX)) noErr == FSRefMakePath(&folder, (UInt8*)cpath, PATH_MAX))
{ {
path = cpath; path = cpath;
path += "zdoom.ini"; path += "/zdoom.ini";
return path; return path;
} }
// Ungh. // Ungh.