- Patch #1235266 by rbayliss: color_scheme_form_submit() has typo in code comment.
parent
57bdf1b1d3
commit
dbaa612279
modules/color
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue