Skip to content
Snippets Groups Projects
Commit dbaa6122 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1235266 by rbayliss: color_scheme_form_submit() has typo in code comment.

parent 57bdf1b1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -314,7 +314,7 @@ function color_scheme_form_submit($form, &$form_state) { ...@@ -314,7 +314,7 @@ function color_scheme_form_submit($form, &$form_state) {
// We need at least a copy of the source and a target buffer of the same // We need at least a copy of the source and a target buffer of the same
// size (both at 32bpp). // size (both at 32bpp).
$required = $width * $height * 8; $required = $width * $height * 8;
// We intend to prevent color scheme changes if there isn't enought memory // We intend to prevent color scheme changes if there isn't enough memory
// available. memory_get_usage(TRUE) returns a more accurate number than // available. memory_get_usage(TRUE) returns a more accurate number than
// memory_get_usage(), therefore we won't inadvertently reject a color // memory_get_usage(), therefore we won't inadvertently reject a color
// scheme change based on a faulty memory calculation. // scheme change based on a faulty memory calculation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment