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-13 10:54:02 +0200
commita105f6d5e9fb0db70068fa866d8d7780fb1cd8bf (patch)
treee0444e10b36111097bc04bc7aa341ae02d6a0393 /widget
parent5db241c0c0b581989766c920da58932dca4bbf17 (diff)
downloaduxp-a105f6d5e9fb0db70068fa866d8d7780fb1cd8bf.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 );