-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Last month, Saint-Denis posted [1] a patch to fix bug 787, which deals
with Windows installer issues. Again, this applies cleanly, so if someone
with a windows machine is willing to test it, it can get committed.
Additionally, Saint-Denis made a few suggestions in his message for fixing
bug 710, in which we blatantly disregard the actual terms of the GPL. I
like all of them, and will creat a patch if (s)he doesn't want to.
Thanks
[1] http://www.abisource.com/mailinglists/abiword-dev/00/August/0268.html
sam th
[EMAIL PROTECTED]
http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5tyDZt+kM0Mq9M/wRAnEPAJwIVAW9ELTiZLg2rhwMXB0VqaSRkgCgqGyL
QiL2lAvP0uQJsls2MODcjdg=
=5Nyu
-----END PGP SIGNATURE-----
Index: abi/src/ask/lib/win/ask_lib_Win32.c
===================================================================
RCS file: /cvsroot/abi/src/ask/lib/win/ask_lib_Win32.c,v
retrieving revision 1.9
diff -u -r1.9 ask_lib_Win32.c
--- abi/src/ask/lib/win/ask_lib_Win32.c 2000/04/13 23:55:06 1.9
+++ abi/src/ask/lib/win/ask_lib_Win32.c 2000/08/11 15:16:26
@@ -166,6 +166,14 @@
if (g_pSet_BrowseDir->pszDirName &&g_pSet_BrowseDir->pszDirName[0])
{
+ /* The disk root directory path ends with '\' but deeper path do not
+*/
+ int iPathLength = strlen(pszPath);
+ if(pszPath[iPathLength - 1] == '\\')
+ {
+ /* Eliminate the '\' as we will build the complete path again
+*/
+ pszPath[iPathLength - 1] = '\0';
+ }
+
sprintf(g_szBrowseDir, "%s/%s", pszPath,
g_pSet_BrowseDir->pszDirName);
}
else
@@ -380,7 +388,7 @@
bi.pidlRoot = pidlPrograms;
bi.pszDisplayName = lpBuffer;
bi.lpszTitle = "Please choose a folder";
- bi.ulFlags = 0;
+ bi.ulFlags = BIF_RETURNONLYFSDIRS;
bi.lpfn = NULL;
bi.lParam = 0;