summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-04-12 12:08:35 +0200
committerMoonchild <moonchild@palemoon.org>2023-04-12 12:08:35 +0200
commitc74cecc05cb3a765b04e9ea708887cbdf7f9dcb2 (patch)
treef616e672f827f59c48a8d55bc32b9fe15f2b8e0f /widget
parent0ba7d1e98842db90396e526ce235a597cc874e74 (diff)
downloaduxp-c74cecc05cb3a765b04e9ea708887cbdf7f9dcb2.tar.gz
No issue - Fix off-by-one of kLargeDatasetSize
Diffstat (limited to 'widget')
-rw-r--r--widget/nsTransferable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/nsTransferable.h b/widget/nsTransferable.h
index bea3b26eb8..841c24004e 100644
--- a/widget/nsTransferable.h
+++ b/widget/nsTransferable.h
@@ -37,7 +37,7 @@ protected:
enum {
// The size of data over which we write the data to disk rather than
// keep it around in memory.
- kLargeDatasetSize = 4194303 // 4 mega bytes
+ kLargeDatasetSize = 4194304 // 4 Megabytes
};
nsresult WriteCache(nsISupports* aData, uint32_t aDataLen );