mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 945784: Prepends a newline to InvalidateCaches entry before writing to compatibility.ini; r=bbondy
This commit is contained in:
parent
de8e6adb5c
commit
8491afe059
@ -2484,7 +2484,7 @@ WriteVersion(nsIFile* aProfileDir, const nsCString& aVersion,
|
||||
PR_Write(fd, appDir.get(), appDir.Length());
|
||||
}
|
||||
|
||||
static const char kInvalidationHeader[] = "InvalidateCaches=1" NS_LINEBREAK;
|
||||
static const char kInvalidationHeader[] = NS_LINEBREAK "InvalidateCaches=1";
|
||||
if (invalidateCache)
|
||||
PR_Write(fd, kInvalidationHeader, sizeof(kInvalidationHeader) - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user