Skip to content

Commit 9cd0580

Browse files
JWWTSLmanisandro
authored andcommitted
docs: fix typo in image adjustment comment (Brighntess -> Brightness)
- Fix spelling error in DisplayRenderer.cc comment section - Change "Brighntess" to "Brightness" in image adjustment logic comment
1 parent bdaaade commit 9cd0580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qt/src/DisplayRenderer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void DisplayRenderer::adjustImage(QImage& image, int brightness, int contrast, b
5454
int red = qRed(rgb[i]);
5555
int green = qGreen(rgb[i]);
5656
int blue = qBlue(rgb[i]);
57-
// Brighntess
57+
// Brightness
5858
red = dBr * (1.0 - kBr) + red * kBr;
5959
green = dBr * (1.0 - kBr) + green * kBr;
6060
blue = dBr * (1.0 - kBr) + blue * kBr;

0 commit comments

Comments
 (0)