tabs to spaces and some other minor clean-ups

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5247 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-08-18 17:15:08 +00:00
parent 17f376f671
commit e2b948ae02

View file

@ -648,17 +648,18 @@ char * NSISCALL GetNSISString(char *outbuf, int strtab)
*/
BOOL use_shfolder = (
BOOL use_shfolder =
// Use shfolder if not on 95/98
!((ver & 0x80000000) && (LOWORD(ver) != 0x5A04)) ||
// Unless the Application Data or Documents folder is requested
((fldrs[2] == CSIDL_COMMON_APPDATA) ||
(fldrs[2] == CSIDL_COMMON_DOCUMENTS))
(
(fldrs[2] == CSIDL_COMMON_APPDATA) ||
(fldrs[2] == CSIDL_COMMON_DOCUMENTS)
);
/* Carry on... shfolder stuff is over. */
if (g_exec_flags.all_user_var)
{
x = 4;