mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #1751 -- fix up a few stray #ifs
This commit is contained in:
parent
a4b0f333ba
commit
82b363f05d
2 changed files with 2 additions and 2 deletions
|
|
@ -2197,7 +2197,7 @@ ProcessReplaceRequest()
|
|||
// 2. Move newDir to destDir. In case of failure, revert step 1 and abort.
|
||||
// 3. Delete tmpDir (or defer it to the next reboot).
|
||||
|
||||
#if XP_WIN
|
||||
#ifdef XP_WIN
|
||||
// Windows preserves the case of the file/directory names. We use the
|
||||
// GetLongPathName API in order to get the correct case for the directory
|
||||
// name, so that if the user has used a different case when launching the
|
||||
|
|
|
|||
|
|
@ -1052,7 +1052,7 @@ nsXREDirProvider::GetUpdateRootDir(nsIFile* *aResult)
|
|||
rv = appFile->GetParent(getter_AddRefs(updRoot));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
#if XP_WIN
|
||||
#ifdef XP_WIN
|
||||
nsAutoString pathHash;
|
||||
bool pathHashResult = false;
|
||||
bool hasVendor = gAppData->vendor && strlen(gAppData->vendor) != 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue