From bfc2ca91fd188d9b7dab1ba9f8fb69a2721bc116 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 10 Oct 2005 21:54:22 +0000 Subject: [PATCH] Sync with LyX 1.4.x git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10535 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/package.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/support/package.C b/src/support/package.C index 831ae92e66..807a3355d5 100644 --- a/src/support/package.C +++ b/src/support/package.C @@ -279,7 +279,7 @@ string const get_temp_dir() { #if defined (USE_WINDOWS_PACKAGING) // Typical example: C:/TEMP/. - char path[PATH_MAX + 1]; + char path[PATH_MAX]; GetTempPath(PATH_MAX, path); return os::internal_path(path); #else // Posix-like. @@ -543,8 +543,8 @@ get_user_support_dir(string const & default_user_support_dir, } -// $HOME/.lyx on all platforms but Win32 where it will be something like -// "C:/Documents and Settings/USERNAME/Application Data/lyx" +// $HOME/.lyx on POSIX but on Win32 it will be something like +// "C:/Documents and Settings/USERNAME/Application Data/LyX" string const get_default_user_support_dir(string const & home_dir) { #if defined (USE_WINDOWS_PACKAGING)